Action bugfixes (#21321)
This commit is contained in:
@@ -213,6 +213,9 @@ public sealed class ActionContainerSystem : EntitySystem
|
||||
|
||||
private void OnShutdown(EntityUid uid, ActionsContainerComponent component, ComponentShutdown args)
|
||||
{
|
||||
if (_timing.ApplyingState && component.NetSyncEnabled)
|
||||
return; // The game state should handle the container removal & action deletion.
|
||||
|
||||
component.Container.Shutdown();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user