Cleanup (removing unused variables & other redundancies, rethrowing exceptions instead of wrapping them in a new exception instance)
This commit is contained in:
@@ -1120,10 +1120,9 @@ namespace Barotrauma
|
||||
//}
|
||||
|
||||
GameModePreset modePreset = obj as GameModePreset;
|
||||
missionTypeBlock.Visible = modePreset.Name == "Mission";
|
||||
|
||||
if (modePreset == null) return false;
|
||||
|
||||
missionTypeBlock.Visible = modePreset.Name == "Mission";
|
||||
lastUpdateID++;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user