mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Improve repair point location for hull and engine hitpoints
This commit is contained in:
parent
011cc6a1cc
commit
f7bc73ed35
@ -119,7 +119,7 @@ private _turretPaths = ((fullCrew [_vehicle, "gunner", true]) + (fullCrew [_vehi
|
||||
|
||||
// Find the action position
|
||||
private _position = compile format ["_target selectionPosition ['%1', 'HitPoints'];", _selection];
|
||||
if ("rotor" in _hitpoint) then {
|
||||
if ("rotor" in _hitpoint || "hull" in _hitpoint || "engine" in _hitpoint) then {
|
||||
_position = compile format ["_target selectionPosition ['%1', 'HitPoints', 'AveragePoint'];", _selection];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user