diff --git a/Gamedata/TweakScale/plugins/Scale.dll b/Gamedata/TweakScale/plugins/Scale.dll index c4e5009f..406f6204 100644 Binary files a/Gamedata/TweakScale/plugins/Scale.dll and b/Gamedata/TweakScale/plugins/Scale.dll differ diff --git a/ScaleExponents.cs b/ScaleExponents.cs index 9a62434b..798ec7a6 100644 --- a/ScaleExponents.cs +++ b/ScaleExponents.cs @@ -85,6 +85,16 @@ private ScaleExponents(ConfigNode node, ScaleExponents source = null) { _id = ""; } + + if (IsExponentBlock(node)) + { + if (string.IsNullOrEmpty(_id)) + { + _id = "Part"; + _name = "Part"; + } + } + _exponents = new Dictionary>(); _children = new Dictionary(); @@ -295,10 +305,6 @@ private void UpdateEnumerable(IEnumerable obj, IEnumerable baseObj, ScalingFacto public static void UpdateObject(Part part, Part basePart, Dictionary exps, ScalingFactor factor) { - if (exps.ContainsKey("")) - { - exps[""].UpdateFields(part, basePart, factor); - } if (exps.ContainsKey("Part")) { exps["Part"].UpdateFields(part, basePart, factor);