mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-21 15:40:50 +03:00
Fix #1691
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user