mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-27 10:14:39 +00:00
ref #25 fix start command of server
This commit is contained in:
parent
8cf58299e5
commit
4aa014e5bc
@ -76,7 +76,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
} else if (QuasarAppUtils::Params::isEndable("start")) {
|
||||
|
||||
QStringList params = QuasarAppUtils::Params::getStrArg("restart").split(":");
|
||||
QStringList params = QuasarAppUtils::Params::getStrArg("start").split(":");
|
||||
|
||||
if (!cli.start(params.value(0), params.value(1).toUShort())) {
|
||||
qCritical() << "Server not started!";
|
||||
|
Loading…
x
Reference in New Issue
Block a user