add player compatibility api (#41)

This commit is contained in:
wsor4035
2024-09-08 18:01:52 -04:00
committed by GitHub
parent 931a16803e
commit b18dc7ba14
10 changed files with 210 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ xcompat.sounds = dofile(modpath .. "/src/sounds.lua")
xcompat.materials = dofile(modpath .. "/src/materials.lua")
xcompat.textures = dofile(modpath .. "/src/textures.lua")
xcompat.functions = dofile(modpath .. "/src/functions.lua")
xcompat.player = dofile(modpath .. "/src/player.lua")
local function validate_sound(key)
if key and xcompat.sounds[key] then