mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-15 06:02:33 +00:00
8 lines
No EOL
303 B
Lua
8 lines
No EOL
303 B
Lua
local filename = xcompat.gameid
|
|
|
|
--if we dont have a materials file for the game, use minetest
|
|
if not xcompat.utilities.file_exists(xcompat.modpath .. "/src/sounds/" .. filename .. ".lua") then
|
|
filename = "xcompat_agnostic"
|
|
end
|
|
|
|
return dofile(xcompat.modpath .. "/src/sounds/" .. filename .. ".lua") |