diff --git a/Content.Client/UserInterface/Systems/Gameplay/GameplayStateLoadController.cs b/Content.Client/UserInterface/Systems/Gameplay/GameplayStateLoadController.cs index 32906238b1..8ec4b260c1 100644 --- a/Content.Client/UserInterface/Systems/Gameplay/GameplayStateLoadController.cs +++ b/Content.Client/UserInterface/Systems/Gameplay/GameplayStateLoadController.cs @@ -3,21 +3,11 @@ using Robust.Client.UserInterface.Controllers; namespace Content.Client.UserInterface.Systems.Gameplay; -public sealed class GameplayStateLoadController : UIController, IOnStateChanged +public sealed class GameplayStateLoadController : UIController { public Action? OnScreenLoad; public Action? OnScreenUnload; - public void OnStateEntered(GameplayState state) - { - LoadScreen(); - } - - public void OnStateExited(GameplayState state) - { - UnloadScreen(); - } - public void UnloadScreen() { OnScreenUnload?.Invoke();