(52c4b3002) Fixed CustomInterface labels & signals not being saved correctly

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:50:32 +03:00
parent 5d9c61598b
commit c7a71d5627
5 changed files with 245 additions and 114 deletions
@@ -156,6 +156,26 @@ namespace Barotrauma
{
get { return GameMain.Config.KeyBind(inputType); }
}
#if CLIENT
private KeyOrMouse binding
{
get { return GameMain.Config.KeyBind(inputType); }
}
#endif
public KeyOrMouse State
{
get { return binding; }
}
public void SetState()
{
hit = binding.IsHit();
if (hit) hitQueue = true;
held = binding.IsDown();
if (held) heldQueue = true;
}
#endif
public KeyOrMouse State