mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
removing extra linebreak in method and unused dependencies in upgrade
This commit is contained in:
parent
5563911634
commit
aabb228171
@ -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
|
||||
|
@ -537,7 +537,6 @@ function chunkUtils.unregisterEnemyBaseStructure(map, entity, damageType, skipCo
|
||||
removeFunc = removeTurretCount
|
||||
else
|
||||
hiveType = "biter-spawner"
|
||||
|
||||
removeFunc = removeNestCount
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user