Fixed keyboard hide keys not working
This commit is contained in:
1 parent
75ed6c989d
commit
6e6f074439
1 file changed
+1
-1
@@ -593,7 +593,7 @@ local function onRender(t)
|
||||
EID.isDisplaying = false
|
||||
EID:setPlayer()
|
||||
|
||||
if Input.IsButtonTriggered(EID.Config["HideKey"], EID.player.ControllerIndex or 0) then
|
||||
if Input.IsButtonTriggered(EID.Config["HideKey"], EID.player.ControllerIndex or 0) or Input.IsButtonTriggered(EID.Config["HideKey"], 0) then
|
||||
EID.isHidden = not EID.isHidden
|
||||
end
|
||||
if ModConfigMenu and ModConfigMenu.IsVisible and ModConfigMenu.Config["Mod Config Menu"].HideHudInMenu and EID.MCMCompat_isDisplayingEIDTab ~= "Visuals" then --if if the mod config menu exists, is opened and Hide Hud is enabled, and ModConfigMenu is currently in the "Visuals" tab of EID
|
||||
|
||||
Reference in new issue
Block a user