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

FACTO-113: Fixed entitySkipCountLookup being nil when new enemies are disabled

This commit is contained in:
Aaron Veden 2022-04-23 14:57:26 -07:00
parent 66b10883f7
commit ddb6c470c1
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 7 additions and 2 deletions

View File

@ -21,7 +21,6 @@ local upgrade = {}
local constants = require("libs/Constants")
local chunkProcessor = require("libs/ChunkProcessor")
local mapUtils = require("libs/MapUtils")
local chunkUtils = require("libs/ChunkUtils")
-- constants
@ -607,8 +606,13 @@ function upgrade.attempt(universe)
end
universe.processBaseAIIterator = nil
end
if global.version < 303 then
global.version = 303
game.print("Rampant - Version 3.0.0")
universe.entitySkipCountLookup = {}
game.print("Rampant - Version 3.0.1")
end
return (starting ~= global.version) and global.version

View File

@ -2,6 +2,7 @@
Version: 3.0.1
Bugfixes:
- Removed console print statement when recycling bases
- Fixed entitySkipCountLookup being nil when new enemies are disabled
---------------------------------------------------------------------------------------------------
Version: 3.0.0