From 4ffc7922fa81bc74f57c961660965e9f65d705ac Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 15 Dec 2018 14:02:12 +0100 Subject: [PATCH] fixed settings not initialized --- shared/js/i18n/localize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/js/i18n/localize.ts b/shared/js/i18n/localize.ts index 961e78c7..e9231269 100644 --- a/shared/js/i18n/localize.ts +++ b/shared/js/i18n/localize.ts @@ -192,7 +192,7 @@ namespace i18n { if(config.repositories.length == 0) { //Add the default TeaSpeak repository - load_repository(settings.static("i18n.default_repository", "i18n/")).then(repo => { + load_repository(StaticSettings.instance.static("i18n.default_repository", "i18n/")).then(repo => { log.info(LogCategory.I18N, tr("Successfully added default repository from \"%s\"."), repo.url); register_repository(repo); }).catch(error => {