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

Больше не неуязвимы #64

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading