(cb8c9ec1b) Fixed subs not being rendered when switching from the game screen to the sub editor immediately after the round starts

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:51:05 +03:00
parent 8c678e3977
commit e3a485edd3
5 changed files with 302 additions and 104 deletions
@@ -156,57 +156,6 @@ 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
{
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();
if (hit) hitQueue = true;
held = binding.IsDown();
if (held) heldQueue = true;
}
#endif
public KeyOrMouse State
{