Localize variable.
This commit is contained in:
parent
fcee06b6e1
commit
f75e5fe6e4
1 changed files with 1 additions and 1 deletions
2
abms.lua
2
abms.lua
|
@ -77,8 +77,8 @@ local function firework()
|
|||
--players[i]:set_sky(0xffffff, "plain", {})
|
||||
players[i]:set_sky('#000000', 'skybox', {'fun_caves_firework_'..math.random(3)..'.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png'})
|
||||
end
|
||||
end
|
||||
minetest.sound_play("fireworks", {gain = 1, pos = pp, max_hear_distance = 2})
|
||||
end
|
||||
minetest.after(4, function()
|
||||
for i = 1, #ps do
|
||||
ps[i].p:set_sky(ps[i].sky.bgcolor, ps[i].sky.type, ps[i].sky.textures)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue