mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-10 00:43:27 +02:00
fix
This commit is contained in:
parent
ff6ee1255d
commit
66394d07f0
@ -40,13 +40,6 @@ local function acid_nova(entity)
|
||||
return true
|
||||
end
|
||||
|
||||
local function spawn_worm(entity)
|
||||
if global.wave_defense.threat < 10000 then return end
|
||||
if math_random(1, 1024) ~= 1 then return end
|
||||
|
||||
|
||||
end
|
||||
|
||||
local function on_entity_died(event)
|
||||
if not event.entity.valid then return end
|
||||
if event.entity.type ~= "unit" then return end
|
||||
@ -55,8 +48,6 @@ local function on_entity_died(event)
|
||||
global.wave_defense.active_biter_count = global.wave_defense.active_biter_count - 1
|
||||
|
||||
if acid_nova(event.entity) then return end
|
||||
if acid_nova(event.entity) then return end
|
||||
if acid_nova(event.entity) then return end
|
||||
end
|
||||
|
||||
local event = require 'utils.event'
|
||||
|
Loading…
Reference in New Issue
Block a user