forked from VoxeLibre/VoxeLibre
Localize a couple variables
This commit is contained in:
parent
0d8744d9a0
commit
a49e144911
|
@ -155,9 +155,9 @@ minetest.register_globalstep(function(dtime)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- ask if player is in a place which he should crawl
|
-- 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
|
-- 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 New Issue