From 030af1ae1313d1d28acbc342031ce2b12820dd9d Mon Sep 17 00:00:00 2001 From: ne_mene Date: Sat, 28 Mar 2026 22:48:21 +0100 Subject: funny. --- src/objs/tilemap.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/objs') diff --git a/src/objs/tilemap.lua b/src/objs/tilemap.lua index 90b8c8a..6838d95 100644 --- a/src/objs/tilemap.lua +++ b/src/objs/tilemap.lua @@ -145,6 +145,9 @@ function queue_tilemap_rebuild(tilemap) end function set_tile(map, x, y, tileid) + if map.tiledata[ID(map, x, y)] == 0 then + play_sound("res/sound/thud.mp3") + end map.tiledata[ID(map, x, y)] = tileid map.needs_rebuild = true end -- cgit v1.3-2-g0d8e