wait for notifies

This commit is contained in:
ineed bots 2024-10-22 10:03:29 -06:00
parent 2e3ec92b07
commit fa43b34dd5

View File

@ -522,10 +522,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 );
} }
/* /*