Vanilla-Conquer
Vanilla-Conquer copied to clipboard
TD Remastered "Modern Balance" Max-HP Changes Don't Apply to Pre-Placed Units
If a unit is pre-placed on a map, and Remastered's "Modern Balance" changes its max-hp, then the game will start with the unit in a damaged state, with the unmodified max-hp as its current hp. The only situation I can think of where this would happen would be pre-placed War Factories on a custom MP map.
The cause is that "Modern Balance" is applied in Fixup_Scenario(), but this is called after pre-placed units are created. (This commit fixes the issue, along with related ones relevant to my mod.)