mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
Key bind set key now falls under the keylock
This commit is contained in:
10
cl_radar.lua
10
cl_radar.lua
@@ -1719,17 +1719,17 @@ function RunControlManager()
|
|||||||
if ( IsDisabledControlJustPressed( 1, CONFIG.keys[keyType].plate_rear_lock ) ) then
|
if ( IsDisabledControlJustPressed( 1, CONFIG.keys[keyType].plate_rear_lock ) ) then
|
||||||
READER:LockCam( "rear", true, false )
|
READER:LockCam( "rear", true, false )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Toggles between the keybind types
|
||||||
|
if ( IsDisabledControlJustPressed( 1, CONFIG.keys.switch_keys ) ) then
|
||||||
|
RADAR:ToggleFullKeyboard()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Toggles the key lock state
|
-- Toggles the key lock state
|
||||||
if ( IsDisabledControlJustPressed( 1, CONFIG.keys.key_lock ) ) then
|
if ( IsDisabledControlJustPressed( 1, CONFIG.keys.key_lock ) ) then
|
||||||
RADAR:ToggleKeyLock()
|
RADAR:ToggleKeyLock()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Toggles between the keybind types
|
|
||||||
if ( IsDisabledControlJustPressed( 1, CONFIG.keys.switch_keys ) ) then
|
|
||||||
RADAR:ToggleFullKeyboard()
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user