(a9fbb0120) Disable controls when the pause menu or settings menu is open. Closes #1391

This commit is contained in:
Joonas Rikkonen
2019-04-08 19:16:37 +03:00
parent e19bf22112
commit 63971c90a9
3 changed files with 14 additions and 1 deletions
@@ -153,6 +153,16 @@ namespace Barotrauma
get { return binding; }
}
public void SetState()
{
hit = binding.IsHit();
if (hit) hitQueue = true;
held = binding.IsDown();
if (held) heldQueue = true;
}
#endif
public void SetState()
{
hit = binding.IsHit();