Oldchat fixes (#12009)
* various fixes * whoops * oops * oop * removes that call from escape button on unload instead of adding another one also just moves escape window stuff into the state entered call, as only one is instantiated whenever the state is loaded (and is not dependent on the current screen)
This commit is contained in:
@@ -106,6 +106,8 @@ namespace Content.Client.Gameplay
|
||||
{
|
||||
_chatController.SetMainChat(false);
|
||||
_menuController.UnloadButtons();
|
||||
_ghostController.UnloadGui();
|
||||
_actionController.UnloadGui();
|
||||
_uiManager.UnloadScreen();
|
||||
}
|
||||
|
||||
@@ -132,8 +134,8 @@ namespace Content.Client.Gameplay
|
||||
_menuController.LoadButtons();
|
||||
|
||||
// TODO: This could just be like, the equivalent of an event or something
|
||||
_ghostController.UpdateGui();
|
||||
_actionController.RegisterActionContainer();
|
||||
_ghostController.LoadGui();
|
||||
_actionController.LoadGui();
|
||||
_alertsController.SyncAlerts();
|
||||
_hotbarController.ReloadHotbar();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user