summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-03-18 17:38:51 +0100
committerMarkus Mittendrein <git@maxmitti.tk>2015-03-18 17:38:51 +0100
commit8983d3b38421843db67a05edee180028959c1b51 (patch)
tree904305965e9ba3baa27680d5d8b2a7b8dbea213e /main.cpp
parentfbe3c5fbe1327fd81e2eb8fe30a75c4cf5d7b35c (diff)
downloadmanager-8983d3b38421843db67a05edee180028959c1b51.tar.gz
manager-8983d3b38421843db67a05edee180028959c1b51.zip
Added ProcessManager, so Clonk can run independently from CRSM.
Added support for league with --league flag for !host.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 5eed945..d69a266 100644
--- a/main.cpp
+++ b/main.cpp
@@ -6,6 +6,8 @@ int main(int argc, char *argv[])
QCoreApplication a(argc, argv);
CRSM *CrServerManager=new CRSM(&a);
+ if(!CrServerManager->isOk())
+ return 1;
CrServerManager->start();
return a.exec();
}