Fix issue with reverting state of unavailable actors.

This commit is contained in:
Ottermandias 2025-10-23 17:23:43 +02:00
parent a56852f918
commit a0d912a395

View file

@ -385,7 +385,7 @@ public class StateApplier(
var actors = ChangeMetaState(state, MetaIndex.Wetness, true);
if (redraw)
{
if (withLock)
if (withLock && actors.Valid)
state.TempLock();
ForceRedraw(actors);
}