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: PabstMirror <pabstmirror@gmail.com>
  • Loading branch information
bluefieldcreator and PabstMirror authored Oct 19, 2024
1 parent e1ee573 commit 965429f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/overpressure/functions/fnc_firedEHOP.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,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;

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

Expand Down

0 comments on commit 965429f

Please sign in to comment.