diff --git a/addons/overpressure/functions/fnc_cacheOverPressureValues.sqf b/addons/overpressure/functions/fnc_cacheOverPressureValues.sqf index a9c65cc62a..0717065c43 100644 --- a/addons/overpressure/functions/fnc_cacheOverPressureValues.sqf +++ b/addons/overpressure/functions/fnc_cacheOverPressureValues.sqf @@ -43,6 +43,8 @@ _type = if (isNil "_priority") then { // obsolete as CBA Update 2.1 start _array params ["_max"]; +// set Default type +_type = 0; // get Highest Entry out the the Priority Array { if (_max < _x) then {