mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Merge pull request #1151 from Refactorio/corpse_cleaner_fix
Updated corpse remover to only remove biter corpses
This commit is contained in:
commit
164baaa523
@ -18,7 +18,8 @@ Global.register(corpse_queue, function(tbl)
|
||||
end)
|
||||
|
||||
local function entity_died(event)
|
||||
if not event.unit_number then
|
||||
local prototype_type = event.prototype.type
|
||||
if prototype_type ~= 'unit' and prototype_type ~= 'turret' then
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user