diff options
author | sfan5 <sfan5@live.de> | 2020-03-03 20:44:03 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-03-03 21:21:41 +0100 |
commit | 1761d7d0f8a778e25ca70216520472a61610cbe5 (patch) | |
tree | 4042f2c0f875c44c4ff24bd440b93485bd3228e9 /src/network/serveropcodes.h | |
parent | 7dffd08c1a068e5e0748a046fd8a1e884947b597 (diff) | |
download | minetest-1761d7d0f8a778e25ca70216520472a61610cbe5.tar.gz minetest-1761d7d0f8a778e25ca70216520472a61610cbe5.tar.bz2 minetest-1761d7d0f8a778e25ca70216520472a61610cbe5.zip |
Fix core.get_connected_players() returning unusable ObjectRefs
This bug is only exposed by 91eef646a59575bd9ae792e257bb6ad12fafc0b1
independent of the move of get_connected_players from Lua to C++.
Previously, there would be a small time window where the SAO had
its peer ID set to PEER_ID_INEXISTENT but the RemotePlayer was
still linked to the SAO, resulting in an ObjectRef that crashed
on certain function calls (#9387).
Diffstat (limited to 'src/network/serveropcodes.h')
0 files changed, 0 insertions, 0 deletions