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

FACTO-281: Fixed invalid reference to chunkToTurrets

This commit is contained in:
Aaron Veden 2023-04-01 18:33:19 -07:00
parent 2f668656b8
commit d29e558d97
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
Version: 3.2.2
Bugfixes:
- Fixed invalid unit group in gathering when the AI hasn't awakened
- Fixed invalid reference to chunkToTurrets on removing map chunk
---------------------------------------------------------------------------------------------------
Version: 3.2.1

View File

@ -307,7 +307,7 @@ local function onModSettingsChange(event)
end
local function onConfigChanged()
game.print("Rampant - Version 3.2.1")
game.print("Rampant - Version 3.2.2")
initializeLibraries(true)
Upgrade.attempt()

View File

@ -323,7 +323,6 @@ function MapUtils.removeChunkFromMap(map, chunk)
Universe.chunkToRallys[chunkId] = nil
Universe.chunkToPassScan[chunkId] = nil
Universe.chunkToNests[chunkId] = nil
Universe.chunkToTurrets[chunkId] = nil
Universe.chunkToUtilities[chunkId] = nil
Universe.chunkToHives[chunkId] = nil
Universe.vengenceQueue[chunkId] = nil
@ -332,6 +331,7 @@ function MapUtils.removeChunkFromMap(map, chunk)
local base = chunk.base
if base then
base.chunkCount = base.chunkCount - 1
chunk.base = nil
end
if Universe.processNestIterator == chunkId then