Fix issue with Revert to Game not removing automated changes when it needs to redraw.

This commit is contained in:
Ottermandias 2023-07-17 00:26:11 +02:00
parent 58b867bd1e
commit f4c47520cd
3 changed files with 11 additions and 0 deletions

View file

@ -377,6 +377,7 @@ public class StateManager : IReadOnlyDictionary<ActorIdentifier, ActorState>
var actors = _applier.ChangeWetness(state, true);
if (redraw)
{
state.TempLock();
_applier.ForceRedraw(actors);
}
else