Fix sandbox panel not reopening properly after being closed by clicking its X (#1260)
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Content.Client.Sandbox
|
||||
private SandboxWindow _window;
|
||||
private EntitySpawnWindow _spawnWindow;
|
||||
private TileSpawnWindow _tilesSpawnWindow;
|
||||
private bool _sandboxWindowToggled = false;
|
||||
private bool _sandboxWindowToggled;
|
||||
|
||||
public void Initialize()
|
||||
{
|
||||
@@ -114,6 +114,7 @@ namespace Content.Client.Sandbox
|
||||
{
|
||||
_window = null;
|
||||
_gameHud.SandboxButtonDown = false;
|
||||
_sandboxWindowToggled = false;
|
||||
}
|
||||
|
||||
private void OnRespawnButtonOnOnPressed(BaseButton.ButtonEventArgs args)
|
||||
|
||||
Reference in New Issue
Block a user