Fix incomplete ruleset config displayed on config initialization.
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Cryville.Crtr.Config {
|
||||
var key = def.Key.Key;
|
||||
var name = (string)def.Key.Name;
|
||||
if (!_values.ContainsKey(name)) {
|
||||
float value = 0;
|
||||
double value = 0;
|
||||
PdtEvaluator.Instance.Evaluate(new PropOp.Float(v => value = v), def.Value.@default);
|
||||
_values.Add(name, value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user