mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-05 19:09:34 +03:00
Fix #1691
This commit is contained in:
1 parent
c118ecbb15
commit
d442592e55
2 files changed
+5
-2
No files matched your search
@@ -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