X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8e80bb9cec2c90dd61f810fb1525932a434288eb..5e661849947cc8850ac737a7883e701e7bd293a3:/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());