diff options
author | Ner'zhul <nerzhul@users.noreply.github.com> | 2016-11-05 10:25:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-05 10:25:30 +0100 |
commit | 66bb2954362748c4722d366d0df490ad51a591a2 (patch) | |
tree | afccdbd313686ab10e98c62729745e8252089bd6 /.gitignore | |
parent | b5c84c34ce283a56317902d24067d9a0795a44c5 (diff) | |
download | minetest-66bb2954362748c4722d366d0df490ad51a591a2.tar.gz minetest-66bb2954362748c4722d366d0df490ad51a591a2.tar.bz2 minetest-66bb2954362748c4722d366d0df490ad51a591a2.zip |
PlayerSAO saving fix (#4734)
PlayerSAO::disconnected() function was historical and remove the link between SAO and RemotePlayer session. With previous attributes linked to RemotePlayer saving was working. But now attributes are read from SAO not RemotePlayer and the current serialize function verify SAO exists to save the player attributes.
Because PlayerSAO::disconnected marks playersao for removal, only mark playerSAO for removal and let PlayerSAO::removingFromEnvironment do the correct saving behaviour and all the disconnection process instead of doing a partial removal and let the server loop doing the RemotePlayer cleanup and remove some saved attributes...
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions