]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Remove client state from server AirAlarmComponent (#31236)
authoreoineoineoin <github@eoinrul.es>
Sun, 25 Aug 2024 02:01:46 +0000 (03:01 +0100)
committerGitHub <noreply@github.com>
Sun, 25 Aug 2024 02:01:46 +0000 (12:01 +1000)
commitb0375f115c17564ecec1e58bf6851644fee1b723
tree52cd9c6cfbf236f8624c0429ce14cd6058b9aa66
parenta1ab4a3dcd89593b411f602a4cd9a3b7887c19d7
Remove client state from server AirAlarmComponent (#31236)

* Remove client state from server AirAlarmComponent

Send information for all connected devices, not just the ones for the
current tab, as attempting to limit this breaks multiple users viewing
the same UI.

Fixes #12842

* Send device data as a list, rather than a dictionary

---------

Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
Content.Client/Atmos/Monitor/UI/AirAlarmBoundUserInterface.cs
Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml.cs
Content.Server/Atmos/Monitor/Components/AirAlarmComponent.cs
Content.Server/Atmos/Monitor/Systems/AirAlarmSystem.cs
Content.Shared/Atmos/Monitor/Components/SharedAirAlarmComponent.cs