From 436e5b334ffc86838cd3ff184577c3b7e41b0ce4 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Tue, 3 Dec 2013 07:49:44 -0600 Subject: [PATCH] try direction here instead --- SQF/dayz_code/compile/player_upgradeVehicle.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/player_upgradeVehicle.sqf b/SQF/dayz_code/compile/player_upgradeVehicle.sqf index b87c62184..25189c40e 100644 --- a/SQF/dayz_code/compile/player_upgradeVehicle.sqf +++ b/SQF/dayz_code/compile/player_upgradeVehicle.sqf @@ -91,7 +91,7 @@ if (_IsNearVehicle >= 1) then { _location = getposATL _vehicle; // Get direction - _dir = getDir _vehicle; + _dir = direction _vehicle; // Current charID _objectCharacterID = _vehicle getVariable ["CharacterID","0"];