Skip to content

Commit

Permalink
FACTO-113: Fixed entitySkipCountLookup being nil when new enemies are…
Browse files Browse the repository at this point in the history
… disabled
  • Loading branch information
veden committed Apr 23, 2022
1 parent 66b1088 commit ddb6c47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Upgrade.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -607,8 +606,13 @@ function upgrade.attempt(universe)
end

universe.processBaseAIIterator = nil
end
if global.version < 303 then
global.version = 303

universe.entitySkipCountLookup = {}

game.print("Rampant - Version 3.0.0")
game.print("Rampant - Version 3.0.1")
end

return (starting ~= global.version) and global.version
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ddb6c47

Please sign in to comment.