]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Make APC UI work correctly with multiple users (#32465)
authoreoineoineoin <github@eoinrul.es>
Sat, 12 Oct 2024 08:21:43 +0000 (09:21 +0100)
committerGitHub <noreply@github.com>
Sat, 12 Oct 2024 08:21:43 +0000 (19:21 +1100)
commit70b7747fddd58d556c1408464dcf969cdeb4a71a
treeb0b4d64773f2bb452f283789eba3904378afc53f
parenta9ecf805e50507879e07fb111967db7fbb3a5142
Make APC UI work correctly with multiple users (#32465)

* Make APC UI work correctly with multiple users

* Check access only on client, when constructing UI

* Do TODO (Thanks, Robust 236.1)

---------

Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
Content.Client/Power/APC/ApcBoundUserInterface.cs
Content.Client/Power/APC/UI/ApcMenu.xaml.cs
Content.Server/Power/Components/ApcComponent.cs
Content.Server/Power/EntitySystems/ApcSystem.cs
Content.Shared/APC/SharedApc.cs
Resources/Prototypes/Entities/Structures/Power/apc.yml