Multigun should only heal Players or Vehicles.

This commit is contained in:
He-Man 2023-12-03 00:16:21 +01:00
parent cd1f40f1fc
commit 73ca4f28f5

View File

@ -52,7 +52,9 @@ switch true do {
}; };
} else { } else {
if ("Repair_EPOCH" in _attachments) then { if ("Repair_EPOCH" in _attachments) then {
_heal = true; if (_cursorTarget isKindOf "Landvehicle" || _cursorTarget isKindOf "SHIP" || _cursorTarget isKindOf "AIR") then {
_heal = true;
};
}; };
}; };
if (_heal) then { if (_heal) then {