aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 5253b2e56..e06e69d87 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -3116,6 +3116,7 @@ Player *Server::emergePlayer(const char *name, const char *password,
return NULL;
}
// Got one.
+ player->peer_id = peer_id;
return player;
}