Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix OOS when undoing after deactivating DSU
previously the 'auto_shroud' replay action also casued the shroud to be updated (resources::undo_stack->commit_vision()), this caused bugs becasue it added 2 entries on the undo stack, which caused 2 actionas to be removed from the replay when undoing after deacticvating delayed shroud updates. Also there was no need to do resources::undo_stack->commit_vision(); on 'auto_shroud' replay command becasue we usually automaticly put a 'update_shroud' command before every 'auto_shroud' command.
- Loading branch information