Please sign in to comment.
Combined unit and weapon slow update loops.
Fix #4862 If a unit was inserted during the unit slowUpdate process, between activeSlowUpdateWeapon and activeSlowUpdateUnit, it caused them to diverge (because the new unit had its weapons slowupdated instead of another unit). Then when the activeSlowUpdateWeapon was deleted, the iterator wasn't advanced (since the test only checks activeSlowUpdateUnit).
- Loading branch information
Showing with 1 addition and 23 deletions.