diff --git a/maps/mp/bots/_bot.gsc b/maps/mp/bots/_bot.gsc index a8bb50e..13e9f21 100644 --- a/maps/mp/bots/_bot.gsc +++ b/maps/mp/bots/_bot.gsc @@ -604,13 +604,15 @@ watchScrabler() */ onDisconnectPlayer() { + name = self.name; + self waittill( "disconnect" ); waittillframeend; for ( i = 0; i < level.bots.size; i++ ) { bot = level.bots[ i ]; - bot BotNotifyBotEvent( "connection", "disconnected", self, self.name ); + bot BotNotifyBotEvent( "connection", "disconnected", self, name ); } }