add gfx.skeletons library

This commit is contained in:
MihailRis 2025-07-27 21:38:09 +03:00
parent 6f11741310
commit b991ca3c9a
2 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,7 @@ end
local prev_rotation = mat4.idt()
function update_hand()
local skeleton = __skeleton
local skeleton = gfx.skeletons
local pid = hud.get_player()
local invid, slot = player.get_inventory(pid)
local itemid = inventory.get(invid, slot)

View File

@ -396,6 +396,8 @@ 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)