1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Make player files saving again

This commit is contained in:
SmallJoker 2014-06-28 17:01:15 +02:00 committed by sapier
parent 897c218b96
commit 3c5df42a17
2 changed files with 2 additions and 0 deletions

View file

@ -462,6 +462,7 @@ Player *ServerEnvironment::loadPlayer(const std::string &playername)
return NULL;
}
testplayer.deSerialize(is, path);
is.close();
if (testplayer.getName() == playername) {
*player = testplayer;
found = true;