Settings are now set

This commit is contained in:
2026-09-03 12:25:16 -05:00
parent aeaf0b377b
commit 60672ef9c3
6 changed files with 87 additions and 23 deletions

View File

@@ -28,7 +28,18 @@ module W3DHubLauncher
end
end
page(Page::Boot::Terms)
Worker::Api.load_settings do |result|
if result.okay?
on_main_thread( proc {
MemCache[:settings] = Worker::Api::Settings.new(JSON.parse(result.data))
page(Page::Boot::StartUp)
})
else
on_main_thread( proc {
page(Page::Boot::Terms)
})
end
end
end
end
end