Delta-v/Content.Server/UserInterface
Pieter-Jan Briers 56fb80ad34
BUI bugfixes / improvements (#23881)
* Fix ActivatableUIRequiresPowerCellComponent stopping power draw when one of two people closes the UI.

Also fixes it to check UiKey properly.

* Remove unnecessary CrewManifestViewer on PDAs

This is for a pop-up crew manifest UI, which the PDA doesn't use.

* Fix BoundUIClosedEvents that didn't check UI key/not correctly at least.

Uses the new helper method in engine.

* Fix drone (cargo shuttle) pilot console UI breaking if two people open it and one person closes it.

* Fixes for disposal router/tagger UI.

Code was badly copy pasted without changing identifiers, never worked.

Also cleaned up some of the logic (text trimming, sounds).

Also removed the "refuse to work if you have something in your active hand" check like why.

* Avoid running most ActivatableUIComponent logic when closing a UI via toggle

Activating the UI while it's already open closes it via toggle. Except it still ran 99% of the "attempting to open" logic which makes no sense.

This probably fixes a bug or some other dumb behavior somewhere.

* Bitch

(cherry picked from commit 123a4147dea2945f6c60fe9e4e0a3aa2da75e1dc)
2024-01-26 22:38:21 +01:00
..
ActivatableUIComponent.cs Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
ActivatableUIRequiresPowerCellComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
ActivatableUISystem.Power.cs BUI bugfixes / improvements (#23881) 2024-01-26 22:38:21 +01:00
ActivatableUISystem.cs BUI bugfixes / improvements (#23881) 2024-01-26 22:38:21 +01:00
IntrinsicUIComponent.cs Refactor actions to be entities with components (#19900) 2023-09-08 18:16:05 -07:00
IntrinsicUISystem.cs Move ActorComponent to shared (#21293) 2023-10-31 19:12:44 +01:00
StatValuesCommand.cs Implement gridinv, proper (#703) 2024-01-21 19:58:28 +01:00
StatValuesEui.cs Cargo economy balance (#11123) 2022-09-15 11:53:17 +10:00