fix gfx.skeletons is nil

This commit is contained in:
MihailRis 2025-07-28 21:31:15 +03:00
parent b5408d9117
commit c392b75d11
2 changed files with 1 additions and 2 deletions

View File

@ -31,6 +31,7 @@ gfx.text3d.new = function(pos, text, preset, extension)
return setmetatable({id=id}, Text3D)
end
gfx.skeletons = __skeleton
gfx.skeletons.get = function(name)
if gfx.skeletons.exists(name) then
return setmetatable({name=name}, Skeleton)

View File

@ -396,8 +396,6 @@ function _rules.clear()
end
function __vc_on_hud_open()
gfx.skeletons = __skeleton
_rules.create("allow-cheats", true)
_rules.create("allow-content-access", hud._is_content_access(), function(value)