mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
Merge pull request #1050 from Zahir-Khan/patch-1
Minor fix in Crashsite entity_died_events.lua
This commit is contained in:
commit
76c88a721e
@ -384,7 +384,7 @@ local function do_coin_drop(entity_name, entity)
|
||||
end
|
||||
end
|
||||
|
||||
local function do_spawn_entity(entity_name, entity)
|
||||
local function do_spawn_entity(entity_name, entity, event)
|
||||
local spawn = entity_spawn_map[entity_name]
|
||||
if not spawn then
|
||||
return
|
||||
@ -459,7 +459,7 @@ Event.add(
|
||||
do_bot_spawn(entity_name, entity, event)
|
||||
end
|
||||
|
||||
do_spawn_entity(entity_name, entity)
|
||||
do_spawn_entity(entity_name, entity, event)
|
||||
end
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user