1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-05 15:05:57 +02:00

Fixed mistake with scenario display name conversion

This commit is contained in:
Jayefuu 2021-02-09 22:32:36 +00:00
parent c2f2bf49e1
commit ff29cc958d

View File

@ -224,7 +224,7 @@ function Public.control(config)
.. 'Players: '..statistics.total_players..'\\n'
)
end
Server.to_discord_named_raw(map_promotion_channel, crash_site_role_mention .. ' **'..config.scenario_name..' has just restarted!!**')
Server.to_discord_named_raw(map_promotion_channel, crash_site_role_mention .. ' **'..scenario_display_name[config.scenario_name]..' has just restarted!!**')
Server.set_data('crash_site_data', tostring(end_epoch), statistics) -- Store the table, with end_epoch as the key
Popup.all('\nServer restarting!\nInitiated by ' .. data.name .. '\n')