mirror of
https://codeberg.org/tenplus1/ambience.git
synced 2025-07-19 17:00:20 +02:00
Compare commits
1 Commits
d0cea9d033
...
e19fca8446
Author | SHA1 | Date | |
---|---|---|---|
e19fca8446 |
3
init.lua
3
init.lua
@ -104,7 +104,8 @@ end)
|
|||||||
local get_ambience = function(player, tod, name)
|
local get_ambience = function(player, tod, name)
|
||||||
|
|
||||||
-- play server or local music if music enabled and music not already playing
|
-- play server or local music if music enabled and music not already playing
|
||||||
if play_music and MUSICVOLUME > 0 and playing[name].music < 0 then
|
if play_music and MUSICVOLUME > 0
|
||||||
|
and playing[name] and playing[name].music < 0 then
|
||||||
|
|
||||||
-- count backwards
|
-- count backwards
|
||||||
playing[name].music = playing[name].music -1
|
playing[name].music = playing[name].music -1
|
||||||
|
Reference in New Issue
Block a user