playername

This commit is contained in:
ineed bots 2024-04-25 14:50:35 -06:00
parent 6f2057c8fa
commit 582268aa3c

View File

@ -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 );
}
}