1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Minor fix

event parameter added to do_spawn_entity
This commit is contained in:
Zahir Khan 2020-04-28 23:06:41 -04:00 committed by GitHub
parent 7c70d36b41
commit 645eb375a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -384,7 +384,7 @@ local function do_coin_drop(entity_name, entity)
end end
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] local spawn = entity_spawn_map[entity_name]
if not spawn then if not spawn then
return return
@ -459,7 +459,7 @@ Event.add(
do_bot_spawn(entity_name, entity, event) do_bot_spawn(entity_name, entity, event)
end end
do_spawn_entity(entity_name, entity) do_spawn_entity(entity_name, entity, event)
end end
) )