mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
move 'player.pick' binding handler to Lua
This commit is contained in:
parent
22d207ba28
commit
9164edf971
6 changed files with 34 additions and 31 deletions
|
|
@ -320,7 +320,6 @@ function __vc_on_hud_open()
|
|||
|
||||
_rules.create("allow-content-access", hud._is_content_access(), function(value)
|
||||
hud._set_content_access(value)
|
||||
input.set_enabled("player.pick", value)
|
||||
end)
|
||||
_rules.create("allow-flight", true, function(value)
|
||||
input.set_enabled("player.flight", value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue