mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
Fixed track_players mod.
This commit is contained in:
parent
524fe451b1
commit
65caefaf85
@ -13,6 +13,9 @@ function players_data()
|
|||||||
z = pos.z }
|
z = pos.z }
|
||||||
table.insert(ps, data)
|
table.insert(ps, data)
|
||||||
end
|
end
|
||||||
|
if table.getn(ps) == 0 then
|
||||||
|
return '[]\n'
|
||||||
|
end
|
||||||
return minetest.write_json(ps) .. '\n'
|
return minetest.write_json(ps) .. '\n'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user