This commit is contained in:
Lion Kortlepel
2021-08-12 22:37:33 +02:00
committed by Lion
parent 59b1b45625
commit 003a8269aa
3 changed files with 13 additions and 9 deletions

View File

@@ -66,9 +66,10 @@ int main(int argc, char** argv) try {
Assert(!Application::IsOutdated(std::array<int, 3> { 2, 0, 0 }, std::array<int, 3> { 1, 0, 1 }));
TServer Server(argc, argv);
TConfig Config;
Application::CheckForUpdates();
TConfig Config;
if (Config.Failed()) {
info("Closing in 10 seconds");