Skip to content

Commit

Permalink
Fix for issue #4 (some modules don't revert to base stats when all up…
Browse files Browse the repository at this point in the history
…grades are disabled)
  • Loading branch information
gotmachine committed Apr 19, 2017
1 parent c46a1ed commit 4014151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UpgradesUIExtensions/EditorTooltipWithUpgrades.cs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ private void ApplyUpgrades(UpgradePrefab prefab)
{
if (moduleNodes[i].GetValue("name") == pm.moduleName)
{
pm.OnLoad(moduleNodes[i]);
pm.Load(moduleNodes[i]); // OnLoad() isn't enough (issue #4). ex : ok for ModuleEngines, not ok for ModuleDataTransmitter.
}
}
}
Expand Down

0 comments on commit 4014151

Please sign in to comment.