X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0907aa4037b12b6b88ee24495d4577a064d4f8db..148f79dce19457e24754501db6844bc363c6f3fb:/projects/stargazer/main.cpp diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index 825cba58..bcf7af77 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -282,7 +282,7 @@ int main(int argc, char* argv[]) return -1; } - auto& loop = EVENT_LOOP_SINGLETON::GetInstance(); + auto& loop = EVENT_LOOP::instance(); StoreLoader storeLoader(settings); if (storeLoader.load()) @@ -304,6 +304,7 @@ int main(int argc, char* argv[]) AdminsImpl admins(store); TariffsImpl tariffs(&store); + tariffs.ReadTariffs(); ServicesImpl services(&store); CorporationsImpl corps(&store); UsersImpl users(&settings, &store, &tariffs, services, admins.sysAdmin());