From d22af0209ae455bd10b50b41d9a8ce60c12ad904 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Tue, 22 Oct 2024 10:01:40 -0600 Subject: [PATCH] wait for notifies --- maps/bots/_bot.gsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maps/bots/_bot.gsc b/maps/bots/_bot.gsc index 6b53c59..1e7a2b8 100644 --- a/maps/bots/_bot.gsc +++ b/maps/bots/_bot.gsc @@ -369,10 +369,10 @@ connected() level.bots[ level.bots.size ] = self; self thread onDisconnect(); - - level notify( "bot_connected", self ); - self thread watchBotDebugEvent(); + + waittillframeend; // wait for waittills to process + level notify( "bot_connected", self ); } /*