mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix pain suppression not affecting 'setCustomAimCoef'
This commit is contained in:
parent
708ac207fd
commit
89c68364ef
@ -28,7 +28,7 @@ if (isServer) then {
|
||||
if (!hasInterface) exitWith {};
|
||||
|
||||
[missionNamespace, "ACE_setCustomAimCoef", QUOTE(ADDON), {
|
||||
private _pain = ACE_player getVariable [QGVAR(pain), 0];
|
||||
private _pain = [ACE_player] call FUNC(getPainLevel);
|
||||
|
||||
linearConversion [0, 1, _pain, 1, 5, true];
|
||||
}] call EFUNC(common,arithmeticSetSource);
|
||||
|
Loading…
Reference in New Issue
Block a user