(9fc7c8e98) Only reset when the objective is an order.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:07:07 +03:00
parent 2a0e289a59
commit 37555ed1a4
15 changed files with 175 additions and 78 deletions
@@ -162,6 +162,21 @@ 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();