From 78435888b83267dcad3c6f2a914acfd985bf1aa9 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Tue, 22 Oct 2024 10:04:52 -0600 Subject: [PATCH] wait for notifies --- maps/mp/bots/_bot.gsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maps/mp/bots/_bot.gsc b/maps/mp/bots/_bot.gsc index 0eb4b06..00a1d62 100644 --- a/maps/mp/bots/_bot.gsc +++ b/maps/mp/bots/_bot.gsc @@ -945,10 +945,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 ); } /*