mirror of
https://codeberg.org/tenplus1/ambience.git
synced 2025-01-11 10:30:17 +01:00
remove unneeded local references
This commit is contained in:
parent
6616ae7ef2
commit
c15ec892ee
4
init.lua
4
init.lua
@ -153,10 +153,10 @@ local get_ambience = function(player)
|
||||
else
|
||||
|
||||
pos.y = pos.y + 1.4 -- head level
|
||||
local nod_head = minetest.get_node(pos).name
|
||||
nod_head = minetest.get_node(pos).name
|
||||
|
||||
pos.y = pos.y - 1.2 -- foot level
|
||||
local nod_feet = minetest.get_node(pos).name
|
||||
nod_feet = minetest.get_node(pos).name
|
||||
|
||||
pos.y = pos.y - 0.2 -- reset pos
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user