From 7af0cb29101ddfd066472f923c67c7dbb8cb6573 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sun, 4 Dec 2016 11:37:03 -0500 Subject: [PATCH] Lower numpad minus keydown timer for block cheats Fewer false positives --- SQF/dayz_code/compile/player_filterCheats.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/player_filterCheats.sqf b/SQF/dayz_code/compile/player_filterCheats.sqf index 6220921d4..84249110d 100644 --- a/SQF/dayz_code/compile/player_filterCheats.sqf +++ b/SQF/dayz_code/compile/player_filterCheats.sqf @@ -21,7 +21,7 @@ _channelChange = _micIcon && ((!isNull findDisplay 24 && _dik in [DIK_DOWN,DIK_U _blockVoice = _channelChange or ((_dik in voice_keys or (_inputAction1 > 0)) && (_channel in DZE_DisabledChannels)); if (_dik == DIK_NUMPADMINUS) then {dayz_minusDownTime = diag_tickTime;}; -_blockCheat = (_dik == DIK_NUMPADMINUS && _shift) or (_dik == DIK_LSHIFT && (diag_tickTime - dayz_minusDownTime < 2)); +_blockCheat = (_dik == DIK_NUMPADMINUS && _shift) or (_dik == DIK_LSHIFT && (diag_tickTime - dayz_minusDownTime < 1)); if (_blockCheat or _blockVoice) then { if (_blockCheat) then {call player_forceSave;}; //Perform before disableUserInput to prevent reenable