1
0
mirror of https://codeberg.org/tenplus1/ambience.git synced 2026-01-11 19:25:25 +01:00

if sound length missing default to 5 seconds

This commit is contained in:
tenplus1
2026-01-10 14:10:10 +00:00
parent e05ada22bb
commit 08e1de745e

View File

@@ -341,7 +341,7 @@ end
playing[pname].set = set_name
playing[pname].gain = MORE_GAIN
playing[pname].handler = handler
playing[pname].timer = ambience.length
playing[pname].timer = (ambience.length or 5)
end
end
end