diff --git a/SQF/dayz_code/actions/jerry_fill.sqf b/SQF/dayz_code/actions/jerry_fill.sqf index 9c8cd2221..d9edf450a 100644 --- a/SQF/dayz_code/actions/jerry_fill.sqf +++ b/SQF/dayz_code/actions/jerry_fill.sqf @@ -24,7 +24,7 @@ _qty = _qty5 + _qty20 + _qty210; _fuelNeeded = (_qty5 * 5) + (_qty20 * 20) + (_qty210 * 210); //Inform if there is not enough to fill all containers in inventory, then proceed to fill available containers -if (_fuelAmount < _fuelNeeded) then {format[localize "str_fill_notenough",typeOf _cursorTarget,_fuelAmount,_fuelNeeded] call dayz_rollingMessages;}; +if (_fuelAmount < _fuelNeeded) then {format[localize "str_fill_notenough",_fuelAmount,_fuelNeeded] call dayz_rollingMessages;}; //If there is not enough to fill any of their cans then exit if (_fuelAmount < 5 or (_fuelAmount < 20 && _qty5 == 0) or (_fuelAmount < 210 && (_qty5 == 0 && _qty20 == 0))) exitWith {dayz_actionInProgress = false;}; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index bd0e70844..b61918ee1 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -1279,9 +1279,9 @@ Deze %1 heeft niet voldoende brandstof. - %1 does not have enough fuel to fill all containers. Estimated %2 litres left (You needed %3 litres) - %1 hat nicht genug Kraftstoff, um alle Kraftstoffbehälter zu füllen. Es sind noch ungefähr %2 Liter übrig. (Du brauchst %3 Liter) - Не достаточно топлива для заполнения всех контейнеров. Осталось около %2л. (Вам нужно %3л) + The fuel tank does not have enough fuel to fill all containers. Estimated %1 litres left (You needed %2 litres) + Der Treibstofftank hat nicht genug Kraftstoff, um alle Kraftstoffbehälter zu füllen. Es sind noch ungefähr %1 Liter übrig. (Du brauchst %2 Liter) + Не достаточно топлива для заполнения всех контейнеров. Осталось около %1л. (Вам нужно %2л) You have filled %1 fuel container(s) with fuel. %2 has an estimated %3 litres of fuel left.