From aa75e1f0488136ffe6962ad02edf408ecffe1ea6 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Tue, 22 Oct 2024 10:04:08 -0600 Subject: [PATCH] wait for notfies --- maps/mp/bots/_bot.gsc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/maps/mp/bots/_bot.gsc b/maps/mp/bots/_bot.gsc index edfe956..5eb3378 100644 --- a/maps/mp/bots/_bot.gsc +++ b/maps/mp/bots/_bot.gsc @@ -595,11 +595,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 ); /* DEBUG