mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix track repair selection placement
This commit is contained in:
parent
f6eb6a6d66
commit
787a57c12b
@ -132,9 +132,9 @@ _processedHitpoints = [];
|
|||||||
// Tracks should always be unique
|
// Tracks should always be unique
|
||||||
if (_hitpoint in _processedHitpoints) exitWith {TRACE_3("Duplicate Track",_hitpoint,_forEachIndex,_selection);};
|
if (_hitpoint in _processedHitpoints) exitWith {TRACE_3("Duplicate Track",_hitpoint,_forEachIndex,_selection);};
|
||||||
if (_hitpoint == "HitLTrack") then {
|
if (_hitpoint == "HitLTrack") then {
|
||||||
_position = [-1.75, 0, -1.75];
|
_position = compile format ["private _return = _target selectionPosition ['%1', 'HitPoints']; _return set [1, 0]; _return", _selection];
|
||||||
} else {
|
} else {
|
||||||
_position = [1.75, 0, -1.75];
|
_position = compile format ["private _return = _target selectionPosition ['%1', 'HitPoints']; _return set [1, 0]; _return", _selection];
|
||||||
};
|
};
|
||||||
TRACE_4("Adding RepairTrack",_hitpoint,_forEachIndex,_selection,_text);
|
TRACE_4("Adding RepairTrack",_hitpoint,_forEachIndex,_selection,_text);
|
||||||
_condition = {[_this select 1, _this select 0, _this select 2 select 0, "RepairTrack"] call DFUNC(canRepair)};
|
_condition = {[_this select 1, _this select 0, _this select 2 select 0, "RepairTrack"] call DFUNC(canRepair)};
|
||||||
|
Loading…
Reference in New Issue
Block a user