mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
FACTO-125: Fixed recycling bases not clearing processBaseAIIterator
This commit is contained in:
parent
bc8dd03b3c
commit
8430a98f43
@ -2,6 +2,7 @@
|
||||
Version: 3.0.3
|
||||
Bugfixes:
|
||||
- Fixed settling squads not detecting players on a chunk when deciding to settle early
|
||||
- Fixed recycling bases not clearing processBaseAIs iterator
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.0.2
|
||||
|
@ -271,6 +271,9 @@ function baseUtils.recycleBases(universe)
|
||||
local map = base.map
|
||||
if (base.chunkCount == 0) or not map.surface.valid then
|
||||
bases[id] = nil
|
||||
if universe.processBaseAIIterator == id then
|
||||
universe.processBaseAIIterator = nil
|
||||
end
|
||||
if map.surface.valid then
|
||||
map.universe.bases[id] = nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user