add gfx.skeletons library
This commit is contained in:
parent
6f11741310
commit
b991ca3c9a
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user