diff options
author | fairiestoy <johannesvk@web.de> | 2013-09-11 16:59:48 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-10-01 15:03:03 +0200 |
commit | 2170c9958a455c228459c795857ec1a890cd05c5 (patch) | |
tree | 83e79810d6481fa2f80839e9882a330f948e1f03 /builtin/static_spawn.lua | |
parent | 2134316c8083274fb1c7645cbb1ceab745073e84 (diff) | |
download | minetest-2170c9958a455c228459c795857ec1a890cd05c5.tar.gz minetest-2170c9958a455c228459c795857ec1a890cd05c5.tar.bz2 minetest-2170c9958a455c228459c795857ec1a890cd05c5.zip |
Optimized minetest.get_connected_players()
Instead of collecting all objects within a huge radius (which could be
a big value), just register each player that connects and give back the
current hold list.
Diffstat (limited to 'builtin/static_spawn.lua')
0 files changed, 0 insertions, 0 deletions