This commit is contained in:
icomrade
2016-05-13 17:40:34 -04:00
parent c118ecbb15
commit d442592e55
2 changed files with 5 additions and 2 deletions

View File

@@ -57,6 +57,9 @@ if (!_fueling) then {
r_doLoop = false;
if (_finished) then {
if((_vehicle isKindOf "Generator_DZ") && {!(_vehicle getVariable ["GeneratorFilled", false])}) then {
_vehicle setVariable ["GeneratorFilled", true, true];
};
if (local _vehicle) then {
[_vehicle,_newFuel] call local_setFuel;
} else {