mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Fix issue with reverting state of unavailable actors.
This commit is contained in:
parent
a56852f918
commit
a0d912a395
1 changed files with 1 additions and 1 deletions
|
|
@ -385,7 +385,7 @@ public class StateApplier(
|
||||||
var actors = ChangeMetaState(state, MetaIndex.Wetness, true);
|
var actors = ChangeMetaState(state, MetaIndex.Wetness, true);
|
||||||
if (redraw)
|
if (redraw)
|
||||||
{
|
{
|
||||||
if (withLock)
|
if (withLock && actors.Valid)
|
||||||
state.TempLock();
|
state.TempLock();
|
||||||
ForceRedraw(actors);
|
ForceRedraw(actors);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue