Skip to content

Commit

Permalink
Update addons/overpressure/functions/fnc_firedEHOP.sqf
Browse files Browse the repository at this point in the history
Co-authored-by: Grim <[email protected]>
  • Loading branch information
bluefieldcreator and LinkIsGrim authored Oct 14, 2024
1 parent 2ae3b15 commit 773eab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/overpressure/functions/fnc_firedEHOP.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _opValues params ["_dangerZoneAngle", "_dangerZoneRange", "_dangerZoneDamage"];
private _unitOverpressureRangeAttribute = _unit getVariable [QEGVAR(overpressure,distance), -1];

// If -1 (disabled) we return to server value, otherwise we use the given value.
_dangerZoneRange = _dangerZoneRange * [_unitOverpressureRangeAttribute, GVAR(overpressureDistanceCoefficient)] select (_unitOverpressureRangeAttribute < 0);
_dangerZoneRange = _dangerZoneRange * ([_unitOverpressureRangeAttribute, GVAR(overpressureDistanceCoefficient)] select (_unitOverpressureRangeAttribute < 0));

TRACE_3("cache",_dangerZoneAngle,_dangerZoneRange,_dangerZoneDamage);

Expand Down

0 comments on commit 773eab5

Please sign in to comment.