diff --git a/Altis_Life.Altis/core/items/fn_jerryCanRefuel.sqf b/Altis_Life.Altis/core/items/fn_jerryCanRefuel.sqf index e802980e6..f830ce808 100644 --- a/Altis_Life.Altis/core/items/fn_jerryCanRefuel.sqf +++ b/Altis_Life.Altis/core/items/fn_jerryCanRefuel.sqf @@ -56,8 +56,8 @@ if (_action) then { _progress progressSetPosition _cP; _pgText ctrlSetText format ["%3 (%1%2)...",round(_cP * 100),"%",_title]; if (_cP >= 1) exitWith {}; - if (!alive player) exitWith {life_action_inUse = false;}; - if (life_interrupted) exitWith {life_interrupted = false; life_action_inUse = false;}; + if (!alive player) exitWith {}; + if (life_interrupted) exitWith {}; }; //Kill the UI display and check for various states @@ -77,4 +77,4 @@ if (_action) then { hint localize "STR_NOTF_ActionCancel"; closeDialog 0; life_action_inUse = false; -}; \ No newline at end of file +};