diff --git a/Upgrade.lua b/Upgrade.lua index a3da614..bd90b2c 100644 --- a/Upgrade.lua +++ b/Upgrade.lua @@ -5,8 +5,6 @@ local upgrade = {} local constants = require("libs/Constants") local chunkProcessor = require("libs/ChunkProcessor") local mapUtils = require("libs/MapUtils") -local chunkPropertyUtils = require("libs/ChunkPropertyUtils") -local baseUtils = require("libs/BaseUtils") local chunkUtils = require("libs/ChunkUtils") -- constants @@ -31,12 +29,6 @@ local TRIPLE_CHUNK_SIZE = constants.TRIPLE_CHUNK_SIZE -- imported functions -local getChunkById = mapUtils.getChunkById -local setChunkBase = chunkPropertyUtils.setChunkBase - -local createBase = baseUtils.createBase -local findNearbyBase = baseUtils.findNearbyBase - local addBasesToAllEnemyStructures = chunkUtils.addBasesToAllEnemyStructures local sFind = string.find diff --git a/libs/ChunkUtils.lua b/libs/ChunkUtils.lua index 9c8d93f..352c3e1 100644 --- a/libs/ChunkUtils.lua +++ b/libs/ChunkUtils.lua @@ -537,7 +537,6 @@ function chunkUtils.unregisterEnemyBaseStructure(map, entity, damageType, skipCo removeFunc = removeTurretCount else hiveType = "biter-spawner" - removeFunc = removeNestCount end end