diff --git a/maps/mp/bots/_bot.gsc b/maps/mp/bots/_bot.gsc index ce28cf2..36cc5b1 100644 --- a/maps/mp/bots/_bot.gsc +++ b/maps/mp/bots/_bot.gsc @@ -448,13 +448,15 @@ fixPerksAndScriptKick() */ 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 ); } }