v0.14.6.0
This commit is contained in:
@@ -443,7 +443,7 @@ namespace Barotrauma
|
||||
|
||||
public static bool KeyHit(Keys button)
|
||||
{
|
||||
return (AllowInput && oldKeyboardState.IsKeyDown(button) && keyboardState.IsKeyUp(button));
|
||||
return AllowInput && oldKeyboardState.IsKeyUp(button) && keyboardState.IsKeyDown(button);
|
||||
}
|
||||
|
||||
public static bool InventoryKeyHit(int index)
|
||||
@@ -454,7 +454,7 @@ namespace Barotrauma
|
||||
|
||||
public static bool KeyDown(Keys button)
|
||||
{
|
||||
return (AllowInput && keyboardState.IsKeyDown(button));
|
||||
return AllowInput && keyboardState.IsKeyDown(button);
|
||||
}
|
||||
|
||||
public static bool KeyUp(Keys button)
|
||||
|
||||
Reference in New Issue
Block a user