Skip to content

Commit

Permalink
Craft deployment preview, part 7
Browse files Browse the repository at this point in the history
bugfix for crash when craft landed and craft deployed are different
  • Loading branch information
MeridianOXC committed Apr 24, 2022
1 parent 1ac46cd commit a680d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Battlescape/BattlescapeGenerator.cpp
Expand Up @@ -1365,7 +1365,7 @@ BattleUnit *BattlescapeGenerator::addXCOMUnit(BattleUnit *unit)
}
}
}
else if (_craft && _craft->hasCustomDeployment())
else if (_craft && _craft->hasCustomDeployment() && _craft->getRules() == _craftRules)
{
setCustomCraftInventoryTile();

Expand Down

0 comments on commit a680d38

Please sign in to comment.