mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixes typo in splint comparison (#7518)
This commit is contained in:
parent
1758b66ac0
commit
d6753250d1
@ -39,8 +39,8 @@ if (EGVAR(medical,fractures) > 0) then {
|
||||
TRACE_1("updating status effect",_isSprintBlocked);
|
||||
[_unit, "blockSprint", QEGVAR(medical,fracture), _isSprintBlocked] call EFUNC(common,statusEffect_set);
|
||||
};
|
||||
if ((_fractures select 2) == 1) then { _aimFracture = _aimFracture + 2; };
|
||||
if ((_fractures select 3) == 1) then { _aimFracture = _aimFracture + 2; };
|
||||
if ((_fractures select 2) == -1) then { _aimFracture = _aimFracture + 2; };
|
||||
if ((_fractures select 3) == -1) then { _aimFracture = _aimFracture + 2; };
|
||||
};
|
||||
_unit setVariable [QGVAR(aimFracture), _aimFracture, false]; // local only var, used in ace_medical's postInit to set ACE_setCustomAimCoef
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user