mirror of
https://github.com/mt-mods/xcompat.git
synced 2025-10-30 15:55:38 +01:00
add player compatibility api (#41)
This commit is contained in:
1
init.lua
1
init.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user