fix missing default

This commit is contained in:
jokoho48 2015-09-08 19:45:46 +02:00
parent 45eb8c4822
commit 1ed52e08bf

View File

@ -43,6 +43,8 @@ _type = if (isNil "_priority") then {
// obsolete as CBA Update 2.1 start // obsolete as CBA Update 2.1 start
_array params ["_max"]; _array params ["_max"];
// set Default type
_type = 0;
// get Highest Entry out the the Priority Array // get Highest Entry out the the Priority Array
{ {
if (_max < _x) then { if (_max < _x) then {