(9f9b86b9b) Fixed tutorial level generation params being used in normal levels.

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:50:49 +03:00
parent c7a71d5627
commit 8c678e3977
5 changed files with 77 additions and 218 deletions
@@ -198,6 +198,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();