wait for notifies

This commit is contained in:
ineed bots 2024-10-22 10:01:40 -06:00
parent 5ea5f77213
commit d22af0209a

View File

@ -369,10 +369,10 @@ connected()
level.bots[ level.bots.size ] = self; level.bots[ level.bots.size ] = self;
self thread onDisconnect(); self thread onDisconnect();
level notify( "bot_connected", self );
self thread watchBotDebugEvent(); self thread watchBotDebugEvent();
waittillframeend; // wait for waittills to process
level notify( "bot_connected", self );
} }
/* /*