1
0
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:
Matthew Heguy 2019-01-25 08:15:58 -05:00
parent 7a3418262e
commit b1647641c8

View File

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