]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix possible bug in my fix of IFF console. Add documentation to HideOnInit. (#42122)
authorEchoOfNothing <52498373+EchoOfNothing@users.noreply.github.com>
Mon, 29 Dec 2025 08:53:18 +0000 (10:53 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Dec 2025 08:53:18 +0000 (08:53 +0000)
commitac3a91eac107637b962698527638e08716edaa17
treea2275e65fced5019a17296ec30b6e09f24e328f6
parentbe7653c131ed157f8fba9a8da485410cf6524ec5
Fix possible bug in my fix of IFF console. Add documentation to HideOnInit. (#42122)

* Refactor OnIFFShow and OnInitIFFConsole by extracting AddAllSupportedIFFFlags method. Fix possible addition of unallowed flags.

Fix posible addition of unallowed flags in OnInitIFFConsole by performing AllowedFlags check in the extracted function.

* Add documentation to HideOnInit

* Update IFFConsoleComponent.cs

---------

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Content.Server/Shuttles/Components/IFFConsoleComponent.cs
Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs