Update submodule, removal of window AddToScreen.

This commit is contained in:
Pieter-Jan Briers
2019-07-18 22:49:49 +02:00
parent a9a99c1821
commit ce1eab9181
16 changed files with 6 additions and 29 deletions

View File

@@ -50,8 +50,6 @@ namespace Content.Client
_escapeMenu.OnClose += () => _gameHud.EscapeButtonDown = false;
_escapeMenu.AddToScreen();
var escapeMenuCommand = InputCmdHandler.FromDelegate(Enabled);
_inputManager.SetInputCommand(EngineKeyFunctions.EscapeMenu, escapeMenuCommand);
@@ -68,7 +66,7 @@ namespace Content.Client
private void Enabled(ICommonSession session)
{
if (_escapeMenu.Visible)
if (_escapeMenu.IsOpen)
{
if (_escapeMenu.IsAtFront())
{