Make a reapply event.

This commit is contained in:
Ottermandias 2024-02-18 13:05:04 +01:00
parent 0bc9fc872e
commit 22a8ba3f35
9 changed files with 22 additions and 16 deletions

View file

@ -308,7 +308,7 @@ public class CommandService : IDisposable
if (_stateManager.GetOrCreate(identifier, actor, out var state))
{
_autoDesignApplier.ReapplyAutomation(actor, identifier, state);
_stateManager.ReapplyState(actor);
_stateManager.ReapplyState(actor, StateSource.Manual);
}
}
}
@ -357,7 +357,7 @@ public class CommandService : IDisposable
return true;
foreach (var actor in data.Objects)
_stateManager.ReapplyState(actor);
_stateManager.ReapplyState(actor, StateSource.Manual);
}