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:
parent
2f668656b8
commit
d29e558d97
@ -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
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user