1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

FACTO-299: Added downgrade mod version check on same save

This commit is contained in:
Aaron Veden 2023-04-08 10:28:17 -07:00
parent 3bc315caf5
commit 4d3eaf118b
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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