From fa00e31f8558f0f311831ecb3b602c1a3fa7733f Mon Sep 17 00:00:00 2001 From: Vitroze Date: Wed, 23 Sep 2026 22:38:14 +0200 Subject: [PATCH] Added a hold-to-activate key to allow switching seats even when weapons are active. --- lua/glide/server/input.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/glide/server/input.lua b/lua/glide/server/input.lua index 68f872ee..30281094 100644 --- a/lua/glide/server/input.lua +++ b/lua/glide/server/input.lua @@ -195,7 +195,7 @@ local function HandleInput( ply, button, active, pressed ) } ) end - elseif not ply:GetAllowWeaponsInVehicle() then + elseif ply:GetAllowWeaponsInVehicle() and ply:KeyDown( IN_ZOOM ) or not ply:GetAllowWeaponsInVehicle() then Glide.SwitchSeat( ply, SEAT_SWITCH_BUTTONS[button] ) end