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,9 +52,11 @@ switch true do {
};
} else {
if ("Repair_EPOCH" in _attachments) then {
if (_cursorTarget isKindOf "Landvehicle" || _cursorTarget isKindOf "SHIP" || _cursorTarget isKindOf "AIR") then {
_heal = true;
};
};
};
if (_heal) then {
_highestDMG = 0;
_currentHIT = -1;