Get rid of a ton of global variables
This commit is contained in:
parent
06933135b4
commit
bc9491ffdd
22 changed files with 214 additions and 4114 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue