Move core.get_connected_players() implementation to C++
authorsfan5 <sfan5@live.de>
Wed, 12 Feb 2020 18:49:48 +0000 (19:49 +0100)
committersfan5 <sfan5@live.de>
Sun, 23 Feb 2020 21:24:12 +0000 (22:24 +0100)
commit0b8d3f99a5424113178329e56c2ebe4b38fd2b46
tree0533bd86aef3bbf1e871ef1558ff9de0109e7f08
parentc657fb343f120b7462f7ca580852636ad98b8ae0
Move core.get_connected_players() implementation to C++

Keeping the ObjectRefs around in a table isn't ideal and this allows
removing the somewhat nonsensical is_player_connected() added in 86ef7147.
builtin/game/misc.lua
src/script/common/c_internal.h
src/script/lua_api/l_env.cpp
src/script/lua_api/l_env.h
src/script/lua_api/l_object.cpp
src/serverenvironment.h