diff --git a/changelog.txt b/changelog.txt index a187218..5ba0ab2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ Version: 3.3.1 - Fixed hive building cursor drifting - Fixed hive not updating build stats when upgraded - Fixed other modded enemy structures not be registered with Rampant + - Added check for downgraded mod versions on the same save with pre-3.2.0 --------------------------------------------------------------------------------------------------- Version: 3.3.0 diff --git a/libs/Upgrade.lua b/libs/Upgrade.lua index 3f74829..8896817 100644 --- a/libs/Upgrade.lua +++ b/libs/Upgrade.lua @@ -433,7 +433,7 @@ function Upgrade.setCommandForces(npcForces, enemyForces) end function Upgrade.addUniverseProperties() - if not global.universePropertyVersion then + if not global.universePropertyVersion or global.version then for key in pairs(global) do if key ~= "universe" then global[key] = nil