mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Make a reapply event.
This commit is contained in:
parent
0bc9fc872e
commit
22a8ba3f35
9 changed files with 22 additions and 16 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue