Skip to content

Commit

Permalink
Update addons/overpressure/CfgEden.hpp
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 965429f commit 144bdd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/overpressure/CfgEden.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Cfg3DEN {
tooltip = CSTRING(distanceCoefficient_toolTip);
property = QUOTE(overpressureDistanceCoefficient);
control = "Edit";
expression = QUOTE(_this setVariable [ARR_3(QQEGVAR(overpressure,distance),_value,true)]);
expression = QUOTE(if (_value >= 0) then { _this setVariable [ARR_3(QQGVAR(distance),_value,true)] });
defaultValue = -1;
validate = "number";
typeName = "NUMBER";
Expand Down

0 comments on commit 144bdd6

Please sign in to comment.