(c6ca0ef58) Recreate objectives when the bot is dismissed.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:11:49 +03:00
parent de8a23f687
commit dbccd76613
13 changed files with 158 additions and 33 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();