Fixed sound

Closes #17
This commit is contained in:
2022-11-05 17:03:16 -07:00
parent b7a7798611
commit 7f9549f651
6 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ sound.play = function(sound_key)
text = "There is no sound with key " .. sound_key
})
else
if (sound.counter > 5) then
if (sound.counter > 0) then
return
end
sound.counter = sound.counter + 1