summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 6b9a829f..109ae071 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -447,6 +447,7 @@ Game::Game(Network *network):
MessageOut msg(CMSG_CLIENT_PING);
msg.writeInt32(tick_time);
+ map_path = map_path.substr(0, map_path.rfind("."));
engine->changeMap(map_path);
MessageOut outMsg(CMSG_MAP_LOADED);
#endif