From ff8be05787141e2a84144a6ba08479e1f14750e4 Mon Sep 17 00:00:00 2001 From: Zekins <136648667+Zekins3366@users.noreply.github.com> Date: Thu, 25 Apr 2024 01:31:05 +0300 Subject: [PATCH 1/2] Update ShuttleSystem.IFF.cs --- Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs b/Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs index bf265da2e64..6f41f2fe7bf 100644 --- a/Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs +++ b/Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs @@ -39,15 +39,6 @@ private void OnIFFShowVessel(EntityUid uid, IFFConsoleComponent component, IFFSh { return; } - - if (!args.Show) - { - AddIFFFlag(xform.GridUid.Value, IFFFlags.Hide); - } - else - { - RemoveIFFFlag(xform.GridUid.Value, IFFFlags.Hide); - } } private void OnIFFConsoleAnchor(EntityUid uid, IFFConsoleComponent component, ref AnchorStateChangedEvent args) From 58ad943646aaabcc4cd22041f29228dfbc8431dc Mon Sep 17 00:00:00 2001 From: Zekins <136648667+Zekins3366@users.noreply.github.com> Date: Thu, 25 Apr 2024 01:42:50 +0300 Subject: [PATCH 2/2] Update ShuttleSystem.IFF.cs --- Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs b/Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs index 6f41f2fe7bf..26e87f0602f 100644 --- a/Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs +++ b/Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs @@ -39,6 +39,14 @@ private void OnIFFShowVessel(EntityUid uid, IFFConsoleComponent component, IFFSh { return; } + ///if (!args.Show) + ///{ + /// AddIFFFlag(xform.GridUid.Value, IFFFlags.Hide); + ///} + ///else + ///{ + /// RemoveIFFFlag(xform.GridUid.Value, IFFFlags.Hide); + ///} } private void OnIFFConsoleAnchor(EntityUid uid, IFFConsoleComponent component, ref AnchorStateChangedEvent args)