From 57e73f675c5f8331a2ea53e81c1b3063dcedeebd Mon Sep 17 00:00:00 2001 From: Edward Date: Sun, 7 Jun 2020 23:44:20 +0200 Subject: [PATCH] Fixes file Duplicates https://github.com/AsYetUntitled/Framework/pull/686 on v5 --- Altis_Life.Altis/core/items/fn_jerryCanRefuel.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +};