Selecting stairs based on WorldRect in editor, disable input if window not active, disable traveling if no locations are selected
This commit is contained in:
@@ -202,7 +202,7 @@ namespace Barotrauma
|
||||
|
||||
GUI.Draw((float)deltaTime, spriteBatch, cam);
|
||||
|
||||
if (PlayerInput.GetMouseState.LeftButton != ButtonState.Pressed) Inventory.draggingItem = null;
|
||||
if (!PlayerInput.LeftButtonDown()) Inventory.draggingItem = null;
|
||||
|
||||
spriteBatch.End();
|
||||
}
|
||||
|
||||
@@ -525,6 +525,8 @@ namespace Barotrauma
|
||||
|
||||
private bool StartShift(GUIButton button, object selection)
|
||||
{
|
||||
if (GameMain.GameSession.Map.SelectedConnection == null) return false;
|
||||
|
||||
GameMain.ShowLoading(ShiftLoading());
|
||||
|
||||
//GameMain.GameSession.StartShift(selectedLevel, false);
|
||||
|
||||
Reference in New Issue
Block a user