(9c93ed664) Fixed fabricators and deconstructors deteriorating when they're powered (not just when fabricating/deconstructing) something

This commit is contained in:
Joonas Rikkonen
2019-04-08 19:16:23 +03:00
parent d482e6554d
commit e19bf22112
3 changed files with 21 additions and 4 deletions
@@ -153,6 +153,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();