Updated Globals

Added refresh_live_streamer() function for refreshing of the live
streamers manually, instead of automatically through the timer.
This commit is contained in:
Mario Steele 2026-03-08 19:28:41 -05:00
parent 057edb22d5
commit 43f82fd03c

View file

@ -74,6 +74,11 @@ func _run_live_streamer_update() -> void:
live_streamers = await twitcher.get_live_streamers_data()
live_streamers_updated.emit()
func refresh_live_streamer() -> void:
if _tmr_live_stream: _tmr_live_stream.stop()
_run_live_streamer_update()
if _tmr_live_stream: _tmr_live_stream.start(240)
func save_settings() -> void:
ResourceSaver.save(settings, "user://settings.tres")