diff --git a/Assets/SEE/Game/City/IncrementalTreeMapSetting.cs b/Assets/SEE/Game/City/IncrementalTreeMapSetting.cs index 4607a5f74e..7c7fdd8a9d 100644 --- a/Assets/SEE/Game/City/IncrementalTreeMapSetting.cs +++ b/Assets/SEE/Game/City/IncrementalTreeMapSetting.cs @@ -95,7 +95,10 @@ public void Save(ConfigWriter writer, string label) public bool Restore(Dictionary attributes, string label) { - if (!attributes.TryGetValue(label, out object dictionary)) return false; + if (!attributes.TryGetValue(label, out object dictionary)) + { + return false; + } Dictionary values = dictionary as Dictionary; bool result = ConfigIO.Restore(values, LocalMovesDepthLabel, ref localMovesDepth); result |= ConfigIO.Restore(values, LocalMovesBranchingLimitLabel, ref localMovesBranchingLimit);