(891ef87c3) Fixed: CrewManager throwing errors if changing resolutions when a crewmember is dead. Added: Scaling of the objective list when changing resolutions
This commit is contained in:
@@ -976,7 +976,7 @@ namespace Barotrauma
|
||||
foreach (GUIComponent c in prevCharacterListBox.Content.Children)
|
||||
{
|
||||
Character character = c.UserData as Character;
|
||||
if (character == null) continue;
|
||||
if (character == null || character.IsDead || character.Removed) continue;
|
||||
AddCharacter(character);
|
||||
DisplayCharacterOrder(character, character.CurrentOrder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user