mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Vehicle damage - Fix ERA/SLAT not being detected (#10168)
* Fix ERA/SLAT not being detected
This commit is contained in:
parent
973cfdd1c4
commit
b9a361fd39
@ -28,8 +28,8 @@ private _hitpointHash = [[], nil] call CBA_fnc_hashCreate;
|
|||||||
private _vehicleConfig = configOf _vehicle;
|
private _vehicleConfig = configOf _vehicle;
|
||||||
private _hitpointsConfig = _vehicleConfig >> "HitPoints";
|
private _hitpointsConfig = _vehicleConfig >> "HitPoints";
|
||||||
private _turretConfig = _vehicleConfig >> "Turrets";
|
private _turretConfig = _vehicleConfig >> "Turrets";
|
||||||
private _eraHitpoints = [_vehicleConfig >> QGVAR(eraHitpoints), "ARRAY", []] call CBA_fnc_getConfigEntry;
|
private _eraHitpoints = ([_vehicleConfig >> QGVAR(eraHitpoints), "ARRAY", []] call CBA_fnc_getConfigEntry) apply {toLowerANSI _x};
|
||||||
private _slatHitpoints = [_vehicleConfig >> QGVAR(slatHitpoints), "ARRAY", []] call CBA_fnc_getConfigEntry;
|
private _slatHitpoints = ([_vehicleConfig >> QGVAR(slatHitpoints), "ARRAY", []] call CBA_fnc_getConfigEntry) apply {toLowerANSI _x};
|
||||||
|
|
||||||
// Add hitpoint names to config for quick lookup
|
// Add hitpoint names to config for quick lookup
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user