Skip to content

Commit

Permalink
Allow truck templates to always be designable if researched.
Browse files Browse the repository at this point in the history
  • Loading branch information
KJeff01 committed Jun 18, 2019
1 parent 0fa59b5 commit 9e22db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/template.cpp
Expand Up @@ -668,7 +668,7 @@ void fillTemplateList(std::vector<DROID_TEMPLATE *> &pList, STRUCTURE *psFactory
}

if (!psCurr->enabled
|| (bMultiPlayer && !playerBuiltHQ)
|| (bMultiPlayer && !playerBuiltHQ && (psCurr->droidType != DROID_CONSTRUCT && psCurr->droidType != DROID_CYBORG_CONSTRUCT))
|| !validTemplateForFactory(psCurr, psFactory, false)
|| !researchedTemplate(psCurr, player, includeRedundantDesigns))
{
Expand Down

0 comments on commit 9e22db3

Please sign in to comment.