]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix some popup issues with pipe layer changes (#38244)
authorPerry Fraser <perryprog@users.noreply.github.com>
Thu, 12 Jun 2025 05:31:48 +0000 (01:31 -0400)
committerGitHub <noreply@github.com>
Thu, 12 Jun 2025 05:31:48 +0000 (22:31 -0700)
commite09b7debe2c6e78c2d1605a4921e63b89629af28
treecc39403b8c1c9f6c248e3d252f3e43d9df4ab6e8
parent70ce570fe9361d5b90494d159faa4fd512ac479d
Fix some popup issues with pipe layer changes (#38244)

* fix: only show pipe layer popups to the user changing them

* fix: don't show pipe layer subfloor popup when not using a screwdriver

* fix: properly pass down user and used for serverside pipe layer changes

Technically this doesn't matter as the Shared codepath for this method
doesn't actually use these on the server: only the user is used for a
clientside popup. Still, will be good to have these for future changes
that might need them.
Content.Server/Atmos/EntitySystems/AtmosPipeLayersSystem.cs
Content.Shared/Atmos/EntitySystems/SharedAtmosPipeLayersSystem.cs