mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
Localize a couple variables
This commit is contained in:
parent
0d8744d9a0
commit
a49e144911
1 changed files with 2 additions and 2 deletions
|
@ -155,9 +155,9 @@ minetest.register_globalstep(function(dtime)
|
|||
end
|
||||
|
||||
-- ask if player is in a place which he should crawl
|
||||
node_in_feet = minetest.registered_nodes[mcl_playerinfo[name].node_feet]
|
||||
local node_in_feet = minetest.registered_nodes[mcl_playerinfo[name].node_feet]
|
||||
-- ask if player is swiming
|
||||
standing_on_water = minetest.get_item_group(mcl_playerinfo[name].node_feet, "water") ~= 0
|
||||
local standing_on_water = minetest.get_item_group(mcl_playerinfo[name].node_feet, "water") ~= 0
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue