1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

removed defines.events.on_server_started

This commit is contained in:
grilledham 2018-11-27 14:48:45 +00:00
parent 031c8b82d9
commit 3e56fe32b8

View File

@ -29,8 +29,6 @@ Public.raw_print = raw_print
local data_set_handlers = {}
defines.events.on_server_started = script.generate_event_name() -- luacheck: ignore
--- The event id for the on_server_started event.
-- The event is raised whenever the server goes from the starting state to the running state.
-- It provides a good opportunity to request data from the web server.
@ -40,7 +38,7 @@ defines.events.on_server_started = script.generate_event_name() -- luacheck: ign
-- function()
-- Server.try_get_all_data('regulars', callback)
-- end)
Public.events = {on_server_started = defines.events.on_server_started}
Public.events = {on_server_started = script.generate_event_name()}
--- Sends a message to the linked discord channel. The message is sanitized of markdown server side.
-- @param message<string> message to send.