From 62b711ecd8dc4132263f097b5fc7027a134fc451 Mon Sep 17 00:00:00 2001 From: "Skaronator.com" Date: Sun, 9 Nov 2014 18:00:33 +0100 Subject: [PATCH] Fix typo --- SQF/dayz_code/system/antihack.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/system/antihack.sqf b/SQF/dayz_code/system/antihack.sqf index 53134561c..42757b1ad 100644 --- a/SQF/dayz_code/system/antihack.sqf +++ b/SQF/dayz_code/system/antihack.sqf @@ -75,7 +75,7 @@ while {1 == 1} do { _distance = _lastpos distance _curpos; _curtime = diag_ticktime; _difftime = _curtime - _lasttime; - _acceptableDistance = if (_lastVehicle isKindOf "Plane") then { 15; } else { 10; }; + _acceptableDistance = if (_lastVehicle isKindOf "Plane") then [{15},{10}]; if ((_distance > _acceptableDistance) || {(_difftime > 1)}) then { _curheight = (ATLtoASL _curpos) select 2;