diff --git a/Content.Server/Beam/BeamSystem.cs b/Content.Server/Beam/BeamSystem.cs index 73d44a24d4..08bf626aec 100644 --- a/Content.Server/Beam/BeamSystem.cs +++ b/Content.Server/Beam/BeamSystem.cs @@ -136,7 +136,7 @@ public sealed class BeamSystem : SharedBeamSystem /// public void TryCreateBeam(EntityUid user, EntityUid target, string bodyPrototype, string? bodyState = null, string shader = "unshaded", EntityUid? controller = null) { - if (!user.IsValid() || !target.IsValid()) + if (Deleted(user) || Deleted(target)) return; var userMapPos = Transform(user).MapPosition;