Various system spring cleaning (#36206)
* Various systems warnings cleanup * Last changes before submitting PR * Add guard for transform component, fix failing test * Small corrections * Audio params to specifiers datafields * Using audio params on components and configs
This commit is contained in:
@@ -69,7 +69,7 @@ public sealed partial class CableSystem : EntitySystem
|
||||
|
||||
// anchor state can change as a result of deletion (detach to null).
|
||||
// We don't want to spawn an entity when deleted.
|
||||
if (!TryLifeStage(uid, out var life) || life >= EntityLifeStage.Terminating)
|
||||
if (TerminatingOrDeleted(uid))
|
||||
return;
|
||||
|
||||
// This entity should not be un-anchorable. But this can happen if the grid-tile is deleted (RCD, explosion,
|
||||
|
||||
Reference in New Issue
Block a user