From 4c5dc51a4609e12915cac976135d63a0aeb31316 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Wed, 13 Dec 2023 12:34:00 -0600 Subject: [PATCH] fix builtin --- maps/mp/bots/_bot_utility.gsc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/maps/mp/bots/_bot_utility.gsc b/maps/mp/bots/_bot_utility.gsc index bcdd942..464c471 100644 --- a/maps/mp/bots/_bot_utility.gsc +++ b/maps/mp/bots/_bot_utility.gsc @@ -1919,7 +1919,7 @@ getBotToKick() { bots = getBotArray(); - if ( !isDefined( bots ) || !isDefined( bots.size ) || bots.size <= 0 || !isArray( bots ) || !isDefined( bots[0] ) ) + if ( !isDefined( bots ) || !isDefined( bots.size ) || bots.size <= 0 || !isDefined( bots[0] ) ) return undefined; tokick = undefined; @@ -2739,7 +2739,6 @@ array_combine( array1, array2 ) */ array_average( array ) { - assert( IsArray( array ) ); assert( array.size > 0 ); total = 0; @@ -2757,7 +2756,6 @@ array_average( array ) */ array_std_deviation( array, mean ) { - assert( IsArray( array ) ); assert( array.size > 0 ); tmp = [];