playername

This commit is contained in:
ineed bots committed 2024-04-25 14:51:03 -06:00
1 parent 65435391bc
commit c4481626a5
1 file changed
+3 -1
+3 -1
View File
@@ -244,13 +244,15 @@ handleBots()
*/
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 );
}
}