mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix 'player.pick' is available when 'show-content-access' is false
This commit is contained in:
parent
e477ae51e5
commit
ae6a323ff3
1 changed files with 1 additions and 0 deletions
|
|
@ -246,6 +246,7 @@ end
|
|||
function __vc_create_hud_rules()
|
||||
_rules.create("show-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