aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 7d4dd0e04..f2a76d763 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1886,10 +1886,8 @@ bool Game::createSingleplayerServer(const std::string &map_dir,
return false;
}
- server = new Server(map_dir, gamespec, simple_singleplayer_mode,
- bind_addr.isIPv6(), false);
-
- server->start(bind_addr);
+ server = new Server(map_dir, gamespec, simple_singleplayer_mode, bind_addr, false);
+ server->start();
return true;
}