mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-26 01:31:51 +03:00
Add setting to disable base takeover #1886
No classes inherit from Generator_DZ, so there is no need to use isKindOf over typeOf.
This commit is contained in:
@@ -76,7 +76,7 @@ if (_build) then {
|
||||
};
|
||||
|
||||
/* //set fuel, Later use Generator
|
||||
if (_object isKindOf "Generator_DZ") then {
|
||||
if (typeOf _object == "Generator_DZ") then {
|
||||
diag_log format["Object: %1, Fuel: %2",_object,fuel _object];
|
||||
if (local _object) then {
|
||||
_object setFuel 0;
|
||||
|
||||
Reference in New Issue
Block a user