]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Added hotkey and controller to re-open end of round scoreboard (#25884)
authorwafehling <wafehling@users.noreply.github.com>
Fri, 26 Apr 2024 12:39:56 +0000 (05:39 -0700)
committerGitHub <noreply@github.com>
Fri, 26 Apr 2024 12:39:56 +0000 (14:39 +0200)
commit8febdc5fc4851f44802bc675d90d3412bd0d4da6
tree06e1aedd0e47a223d41c7f9941fd8c26739799fa
parent080b1b1e0ca40b34d1a3538942ee54acdd8b117f
Added hotkey and controller to re-open end of round scoreboard (#25884)

* Added keybind for scoreboard, starting work

* Fixed the window appearing

* Added loc text

* Updated namespace for ScoreboardUIController.cs

* Switched to UISystemDependency

"- UIControllers can use [Dependency] as normal for IoC services and other controllers, but must use [UISystemDependency] for entity systems, which may be null as controllers exist before entity systems do." Jezithyr — 10/12/2022 1:20 PM

* Reverted back to functional state

* Replace with UISystemDependency

* Move RoundEndSummaryWindow to ScoreboardUIController

* Convert to EntitySystem

* Clean up command bind

* Move to RoundEnd directory

* Remove Nukeops rule when no nukies

* Cleanup

* Change to toggle hotkey

* Cleanup

* Revert "Remove Nukeops rule when no nukies"

This reverts commit 5d4bbca09f45110b24a674d59b505be87b602b67.

* Cleanup

* Make the Toggle hotkey work in lobby

* Fix error

---------

Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Content.Client/GameTicking/Managers/ClientGameTicker.cs
Content.Client/Input/ContentContexts.cs
Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
Content.Client/RoundEnd/RoundEndSummaryUIController.cs [new file with mode: 0644]
Content.Client/RoundEnd/RoundEndSummaryWindow.cs
Content.Shared/Input/ContentKeyFunctions.cs
Resources/Locale/en-US/escape-menu/ui/options-menu.ftl
Resources/keybinds.yml