Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #64 from Corvax-Frontier/Zekins3366-patch-2
Browse files Browse the repository at this point in the history
Больше не неуязвимы
  • Loading branch information
Vonsant authored Apr 24, 2024
2 parents 29aecfe + 58ad943 commit aa82f11
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +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);
}
///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)
Expand Down

0 comments on commit aa82f11

Please sign in to comment.