Only left alt

This commit is contained in:
Xerasin 2022-07-01 10:28:16 -07:00
parent aa0f935cc4
commit 6c76be9e75

View File

@ -118,7 +118,7 @@ hook.Add("KeyPress", TAG .. "KeyPress", function(ply, key)
local alwaysSit = ShouldSit(ply)
if forceBinds:GetBool() then
if useAlt:GetBool() and (input.IsKeyDown(KEY_LALT) or input.IsKeyDown(KEY_RALT)) then
if useAlt:GetBool() and input.IsKeyDown(KEY_LALT) then
good = true
end
else