fix gfx.skeletons is nil
This commit is contained in:
parent
b5408d9117
commit
c392b75d11
@ -31,6 +31,7 @@ gfx.text3d.new = function(pos, text, preset, extension)
|
|||||||
return setmetatable({id=id}, Text3D)
|
return setmetatable({id=id}, Text3D)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
gfx.skeletons = __skeleton
|
||||||
gfx.skeletons.get = function(name)
|
gfx.skeletons.get = function(name)
|
||||||
if gfx.skeletons.exists(name) then
|
if gfx.skeletons.exists(name) then
|
||||||
return setmetatable({name=name}, Skeleton)
|
return setmetatable({name=name}, Skeleton)
|
||||||
|
|||||||
@ -396,8 +396,6 @@ function _rules.clear()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function __vc_on_hud_open()
|
function __vc_on_hud_open()
|
||||||
gfx.skeletons = __skeleton
|
|
||||||
|
|
||||||
_rules.create("allow-cheats", true)
|
_rules.create("allow-cheats", true)
|
||||||
|
|
||||||
_rules.create("allow-content-access", hud._is_content_access(), function(value)
|
_rules.create("allow-content-access", hud._is_content_access(), function(value)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user