Get rid of a ton of global variables

This commit is contained in:
Wuzzy 2017-01-24 02:31:49 +01:00
parent 06933135b4
commit bc9491ffdd
22 changed files with 214 additions and 4114 deletions

View file

@ -1,4 +1,4 @@
player_running_physics = {}
local player_running_physics = {}
minetest.register_globalstep(function(dtime)
for _,player in ipairs(minetest.get_connected_players()) do
--local pos = player:getpos()
@ -26,4 +26,4 @@ minetest.register_globalstep(function(dtime)
end
end
end)
end)