mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-12 04:45:25 +01:00
Upon disconnect, RemotePlayer still had a peer ID assigned even though the PlayerSAO object was maked as gone (for removal). This commit makes that the following always holds true: (!sao || sao->isGone()) === (peer_id == PEER_ID_INEXISTENT)