mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Use on_data_set_changed instead of nth tick
This commit is contained in:
parent
7a3418262e
commit
b1647641c8
@ -717,8 +717,7 @@ Event.add(defines.events.on_player_created, player_created)
|
|||||||
|
|
||||||
Event.add(Server.events.on_server_started, download_changelog)
|
Event.add(Server.events.on_server_started, download_changelog)
|
||||||
|
|
||||||
-- Hourly
|
Server.on_data_set_changed('misc', download_changelog)
|
||||||
Event.on_nth_tick(215983, download_changelog)
|
|
||||||
|
|
||||||
Gui.on_click(main_button_name, toggle)
|
Gui.on_click(main_button_name, toggle)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user