Fix unit [resistance] and [jamming_costs] not being used in sync checks
The typo this commit fixes would direct the game to a non-existent (and invalid) [jamming_costs resistance] tag instead. Reported by reluctant_deity on Reddit.
This commit is contained in:
parent
44312adfcb
commit
f572f2f49f
2 changed files with 3 additions and 1 deletions
|
@ -59,6 +59,8 @@ Version 1.13.1+dev:
|
|||
* Fixed SDL2 compilation issues.
|
||||
* Fixed RECRUIT_UNIT_VARIATIONS core WML macro leaking an internal temporary
|
||||
variable ($recruited_unit_random_variation).
|
||||
* Fixed unit [resistance] and [jamming_costs] not being considered for sync
|
||||
check.
|
||||
|
||||
Version 1.13.1:
|
||||
* Security fixes:
|
||||
|
|
|
@ -2304,7 +2304,7 @@ std::string get_checksum(const unit& u) {
|
|||
child.recursive_clear_value("name");
|
||||
}
|
||||
|
||||
const std::string child_keys[] = {"advance_from", "defense", "movement_costs", "vision_costs", "jamming_costs" "resistance", ""};
|
||||
const std::string child_keys[] = {"advance_from", "defense", "movement_costs", "vision_costs", "jamming_costs", "resistance", ""};
|
||||
|
||||
for (int i = 0; !child_keys[i].empty(); ++i)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue