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:
parent
897c218b96
commit
3c5df42a17
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue