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

renamed method processSpawners to processAttackWaves

This commit is contained in:
Aaron Veden 2021-12-05 22:11:59 -08:00
parent beaeaa6c2e
commit 27426a42ae
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ local positionToChunkXY = mapUtils.positionToChunkXY
local temperamentPlanner = aiPlanning.temperamentPlanner
local processVengence = mapProcessor.processVengence
local processSpawners = mapProcessor.processSpawners
local processAttackWaves = mapProcessor.processAttackWaves
local processStaticMap = mapProcessor.processStaticMap
@ -995,7 +995,7 @@ script.on_event(defines.events.on_tick,
scanResourceMap(map, tick)
scanEnemyMap(map, tick)
elseif (pick == 5) then
processSpawners(map)
processAttackWaves(map)
scanEnemyMap(map, tick)
elseif (pick == 6) then
scanPlayerMap(map, tick)

View File

@ -487,7 +487,7 @@ local function processSpawnersBody(map, iterator, chunks)
end
end
function mapProcessor.processSpawners(map)
function mapProcessor.processAttackWaves(map)
if (map.state ~= AI_STATE_PEACEFUL) then
if (map.state == AI_STATE_MIGRATING) then