mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +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)
|
||||
|
||||
-- Hourly
|
||||
Event.on_nth_tick(215983, download_changelog)
|
||||
Server.on_data_set_changed('misc', download_changelog)
|
||||
|
||||
Gui.on_click(main_button_name, toggle)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user