mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-15 06:02:33 +00:00
LOTS OF STUFF
This commit is contained in:
parent
ba9efa195a
commit
43f40c2550
499 changed files with 566 additions and 225 deletions
8
mods/misc/xcompat/src/sounds.lua
Normal file
8
mods/misc/xcompat/src/sounds.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue