aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorne_mene <[email protected]>2026-03-30 12:39:13 +0200
committerne_mene <[email protected]>2026-03-30 12:39:13 +0200
commitec00a87eecf2471c86e7be456c4baab3695d188b (patch)
tree6185374693a709756f850891e329973dfea815aa
parentccaf23cedd06f2095732d00d5880f8d43ea9bc3f (diff)
stereo to mono script
-rw-r--r--src/objs/tilemap.lua2
-rw-r--r--src/sound.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/objs/tilemap.lua b/src/objs/tilemap.lua
index 96a1247..462a901 100644
--- a/src/objs/tilemap.lua
+++ b/src/objs/tilemap.lua
@@ -146,7 +146,7 @@ end
function set_tile(map, x, y, tileid)
if map.tiledata[ID(map, x, y)] == 0 then
- play_sound("res/sound/thud.ogg")
+ play_sound("res/mono/thud.ogg")
end
map.tiledata[ID(map, x, y)] = tileid
map.needs_rebuild = true
diff --git a/src/sound.lua b/src/sound.lua
index 6ebe403..5b530fc 100644
--- a/src/sound.lua
+++ b/src/sound.lua
@@ -2,7 +2,7 @@
local sound_bank = {}
function load_sounds_from(path)
- path = path or "res/sound"
+ path = path or "res/mono"
local files = lf.getDirectoryItems(path)
for _, file in ipairs(files) do