(83ad1f3d2) Fix a null reference exception.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:16:31 +03:00
parent 5b3696f7e4
commit 6bdd0ab8c0
9 changed files with 300 additions and 53 deletions
@@ -162,21 +162,6 @@ namespace Barotrauma
get { return binding; }
}
public void SetState()
{
hit = binding.IsHit();
if (hit) hitQueue = true;
held = binding.IsDown();
if (held) heldQueue = true;
}
#endif
public KeyOrMouse State
{
get { return binding; }
}
public void SetState()
{
hit = binding.IsHit();