aboutsummaryrefslogtreecommitdiff
path: root/src/sound.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.lua')
-rw-r--r--src/sound.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound.lua b/src/sound.lua
index 5b530fc..30f7e5b 100644
--- a/src/sound.lua
+++ b/src/sound.lua
@@ -25,6 +25,7 @@ end
function play_sound(path, x, y)
sound = sound_bank[path]
+ assert(sound, "sound "..path.." unknown")
local source = nil
for i = 1, sound.size do