diff --git a/addons/gforces/functions/fnc_pfhUpdateGForces.sqf b/addons/gforces/functions/fnc_pfhUpdateGForces.sqf index 0e8ad1ab67..f1c1dfc5bc 100644 --- a/addons/gforces/functions/fnc_pfhUpdateGForces.sqf +++ b/addons/gforces/functions/fnc_pfhUpdateGForces.sqf @@ -7,6 +7,11 @@ _interval = time - GVAR(lastUpdateTime); // Update the g-forces at constant game time intervals if (_interval < INTERVAL) exitWith {}; + +if (isNull ACE_player) exitWith {}; + +if !(alive ACE_player) exitWith {}; + GVAR(lastUpdateTime) = time; /*if !(vehicle ACE_player isKindOf "Air") exitWith {