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

removed unused variables

This commit is contained in:
grilledham 2019-03-08 17:49:06 +00:00
parent 41f2fc8c50
commit e53d91cfcf
2 changed files with 3 additions and 5 deletions

View File

@ -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)

View File

@ -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)