From b877ecffda42a0ef54a71a320730f35885adc169 Mon Sep 17 00:00:00 2001 From: ineedbots Date: Wed, 25 Aug 2021 13:02:32 -0600 Subject: [PATCH] fix script link error --- main_shared/maps/mp/bots/_bot_script.gsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_shared/maps/mp/bots/_bot_script.gsc b/main_shared/maps/mp/bots/_bot_script.gsc index e575c91..0544d70 100644 --- a/main_shared/maps/mp/bots/_bot_script.gsc +++ b/main_shared/maps/mp/bots/_bot_script.gsc @@ -263,12 +263,12 @@ classWatch() wait 0.5; - if ( !isValidClass( self.class ) || !isDefined( self.bot_change_class ) ) + if ( !maps\mp\gametypes\_globallogic::isValidClass( self.class ) || !isDefined( self.bot_change_class ) ) self notify( "menuresponse", game["menu_changeclass"], self chooseRandomClass() ); self.bot_change_class = true; - while ( isdefined( self.pers["team"] ) && isValidClass( self.class ) && isDefined( self.bot_change_class ) ) + while ( isdefined( self.pers["team"] ) && maps\mp\gametypes\_globallogic::isValidClass( self.class ) && isDefined( self.bot_change_class ) ) wait .05; } }