AI operating reactors & railguns, misc AI improvements
This commit is contained in:
@@ -41,7 +41,10 @@ namespace Barotrauma
|
||||
|
||||
public static bool IsOpen
|
||||
{
|
||||
get { return isOpen; }
|
||||
get
|
||||
{
|
||||
return isOpen;
|
||||
}
|
||||
}
|
||||
|
||||
public static void Init(GameWindow window)
|
||||
@@ -72,6 +75,7 @@ namespace Barotrauma
|
||||
}
|
||||
else
|
||||
{
|
||||
GUIComponent.MouseOn = null;
|
||||
textBox.Deselect();
|
||||
}
|
||||
|
||||
@@ -80,10 +84,8 @@ namespace Barotrauma
|
||||
|
||||
if (isOpen)
|
||||
{
|
||||
|
||||
frame.Update(deltaTime);
|
||||
|
||||
|
||||
Character.DisableControls = true;
|
||||
|
||||
if (PlayerInput.KeyHit(Keys.Up))
|
||||
|
||||
Reference in New Issue
Block a user