mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-29 12:47:30 +01:00
Localize a couple variables
This commit is contained in:
parent
0d8744d9a0
commit
a49e144911
@ -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 New Issue
Block a user