diff --git a/map_gen/maps/crash_site/crash_site_toast.lua b/map_gen/maps/crash_site/crash_site_toast.lua index 87e2dcb9..2ee7319b 100644 --- a/map_gen/maps/crash_site/crash_site_toast.lua +++ b/map_gen/maps/crash_site/crash_site_toast.lua @@ -4,11 +4,9 @@ local Color = require 'resources.color_presets' local Public = {} -local market_signal = {type = 'virtual', name = 'signal-O'} - local find_outpost_name = Gui.uid_name() -function Public.do_outpost_toast(market, outpost_name, message) +function Public.do_outpost_toast(market, message) Toast.toast_all_players_template( 15, function(container) diff --git a/map_gen/maps/crash_site/outpost_builder.lua b/map_gen/maps/crash_site/outpost_builder.lua index d68b5d75..203b0a98 100644 --- a/map_gen/maps/crash_site/outpost_builder.lua +++ b/map_gen/maps/crash_site/outpost_builder.lua @@ -982,7 +982,7 @@ local function do_outpost_upgrade(event) local outpost_name = Retailer.get_market_group_label(outpost_id) local message = concat {outpost_name, ' has been upgraded to level ', level} - CrashSiteToast.do_outpost_toast(outpost_data.market, outpost_name, message) + CrashSiteToast.do_outpost_toast(outpost_data.market, message) Server.to_discord_bold(concat {'*** ', message, ' ***'}) for i = 1, #outpost_magic_crafters do @@ -1058,7 +1058,7 @@ local function do_capture_outpost(outpost_data) end local message = 'Outpost captured: ' .. name - CrashSiteToast.do_outpost_toast(outpost_data.market, name, message) + CrashSiteToast.do_outpost_toast(outpost_data.market, message) Server.to_discord_bold(concat {'*** ', message, ' ***'}) activate_market_upgrade(outpost_data)