diff options
Diffstat (limited to 'src/game-server/main-game.cpp')
-rw-r--r-- | src/game-server/main-game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp index 86dc7e22..0824a8d1 100644 --- a/src/game-server/main-game.cpp +++ b/src/game-server/main-game.cpp @@ -255,7 +255,7 @@ void parseOptions(int argc, char *argv[]) // Change the port to listen on. unsigned short portToListenOn; portToListenOn = atoi(optarg); - Configuration::setValue("gameServerPort", portToListenOn); + Configuration::setValue("net_gameServerPort", portToListenOn); LOG_INFO("Setting default port to " << portToListenOn); break; } @@ -283,7 +283,7 @@ int main(int argc, char *argv[]) accountHandler->start(); int gameServerPort = - Configuration::getValue("gameServerPort", DEFAULT_SERVER_PORT + 3); + Configuration::getValue("net_gameServerPort", DEFAULT_SERVER_PORT + 3); if (!gameHandler->startListen(gameServerPort)) { |