playername

This commit is contained in:
ineed bots 2024-04-25 14:48:52 -06:00
parent 1be9d33b90
commit 26d9a2780c

View File

@ -517,6 +517,8 @@ onDeath()
*/
onDisconnectPlayer()
{
name = self.name;
self waittill( "disconnect" );
self killTags();
@ -527,7 +529,7 @@ onDisconnectPlayer()
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 );
}
}