From 645eb375a9ef7aaa967c5c9bc713375b2c6a32ec Mon Sep 17 00:00:00 2001 From: Zahir Khan <10581668+Zahir-Khan@users.noreply.github.com> Date: Tue, 28 Apr 2020 23:06:41 -0400 Subject: [PATCH] Minor fix event parameter added to do_spawn_entity --- map_gen/maps/crash_site/entity_died_events.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/map_gen/maps/crash_site/entity_died_events.lua b/map_gen/maps/crash_site/entity_died_events.lua index 487aed99..41eb2d76 100644 --- a/map_gen/maps/crash_site/entity_died_events.lua +++ b/map_gen/maps/crash_site/entity_died_events.lua @@ -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 )