Merged linux changes, fixed first item in inventory not being loaded, fixed levels breaking if re-entering the same level
This commit is contained in:
@@ -143,11 +143,13 @@ namespace Barotrauma
|
||||
if (Level.Loaded.AtEndPosition)
|
||||
{
|
||||
endShiftButton.Text = "Enter " + Map.SelectedLocation.Name;
|
||||
endShiftButton.Font = GUI.SmallFont;
|
||||
endShiftButton.Draw(spriteBatch);
|
||||
}
|
||||
else if (Level.Loaded.AtStartPosition)
|
||||
{
|
||||
endShiftButton.Text = "Enter " + Map.CurrentLocation.Name;
|
||||
endShiftButton.Font = GUI.SmallFont;
|
||||
endShiftButton.Draw(spriteBatch);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user