aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-18 00:45:07 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-18 00:45:07 +0200
commit515a480d0e82fe77f1aae8115e81d720d7d1775b (patch)
tree31ce421c01342ec0ce5a80c2f2072b8b89cf8b0a /src
parenta1b2cd550e101d8afe4a930f377f6e0240524c04 (diff)
downloadminetest-515a480d0e82fe77f1aae8115e81d720d7d1775b.tar.gz
minetest-515a480d0e82fe77f1aae8115e81d720d7d1775b.tar.bz2
minetest-515a480d0e82fe77f1aae8115e81d720d7d1775b.zip
now it works!
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;
}