Skip to content

Commit

Permalink
563 IncrementalTreeMapSetting, resolved 'var' expression
Browse files Browse the repository at this point in the history
  • Loading branch information
jschramm committed Aug 31, 2023
1 parent ffefc72 commit a24f9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/SEE/Game/City/IncrementalTreeMapSetting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public bool Restore(Dictionary<string, object> attributes, string label)
{
if (!attributes.TryGetValue(label, out object dictionary)) return false;
Dictionary<string, object> values = dictionary as Dictionary<string, object>;
var result = ConfigIO.Restore(values, LocalMovesDepthLabel, ref localMovesDepth);
bool result = ConfigIO.Restore(values, LocalMovesDepthLabel, ref localMovesDepth);
result |= ConfigIO.Restore(values, LocalMovesBranchingLimitLabel, ref localMovesBranchingLimit);
result |= ConfigIO.RestoreEnum(values, PNormLabel, ref pNorm);
result |= ConfigIO.Restore(values, GradientDescentPrecisionLabel, ref gradientDescentPrecisionExponent);
Expand Down

0 comments on commit a24f9b3

Please sign in to comment.