]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Use distinct action labels for toggling internals on and off. (#36073)
authorCiarán Walsh <github@ciaranwal.sh>
Mon, 2 Jun 2025 11:09:45 +0000 (12:09 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Jun 2025 11:09:45 +0000 (13:09 +0200)
commitd83f393fa46e41d8fe85a45483190f0312ba0c78
tree0abc12083feb6f54452f9c1ccabf53e0f4e5fad1
parent8f1c624075263593296e2649732c30413ea8240c
Use distinct action labels for toggling internals on and off. (#36073)

* Use distinct action labels for toggling internals on and off.

* Implement specific actions for enabling/disabling internals

Avoids potential confusing race conditions where two people might perform the "Toggle Internals On" action an the same person,
which would have jsut toggled twice.

* If no gas tank, will give popup

---------

Co-authored-by: beck-thompson <beck314159@hotmail.com>
Content.Server/Body/Systems/InternalsSystem.cs
Content.Shared/Body/Systems/SharedInternalsSystem.cs
Content.Shared/Internals/InternalsDoAfterEvent.cs
Resources/Locale/en-US/actions/actions/internals.ftl