Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
human mission 10: Convert attacker units with wrapped CreateUnit
With the original TransformUnit the unit-peasant become unit-attack-peasant only in GameCycle=2. But the Defeat-Trigger that counts them is already executed in in GameCycle=1. This trigger then counts 0 units of type 'unit-attack-peasant' and the mission is lost. This happens since Wargus/stratagus#626 was merged: b5e5bb0c6a18ccbf ("Merge pull request #626 from zzam/trigger-each-cycle") Before the code was fragile but it worked due to the ordering of triggers. Closes: Wargus#458
- Loading branch information