(965c31410a) Unstable v0.10.4.0
This commit is contained in:
+2
-2
@@ -159,7 +159,7 @@ namespace Barotrauma.CharacterEditor
|
||||
OnPostSpawn();
|
||||
}
|
||||
OpenDoors();
|
||||
GameMain.Instance.OnResolutionChanged += OnResolutionChanged;
|
||||
GameMain.Instance.ResolutionChanged += OnResolutionChanged;
|
||||
Instance = this;
|
||||
|
||||
if (!GameMain.Config.EditorDisclaimerShown)
|
||||
@@ -266,7 +266,7 @@ namespace Barotrauma.CharacterEditor
|
||||
Reset(Character.CharacterList.Where(c => VanillaCharacters.Any(vchar => vchar == c.ConfigPath)));
|
||||
#endif
|
||||
}
|
||||
GameMain.Instance.OnResolutionChanged -= OnResolutionChanged;
|
||||
GameMain.Instance.ResolutionChanged -= OnResolutionChanged;
|
||||
GameMain.LightManager.LightingEnabled = true;
|
||||
ClearWidgets();
|
||||
ClearSelection();
|
||||
|
||||
Reference in New Issue
Block a user