mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2026-10-10 20:41:26 +00:00
playername
This commit is contained in:
1 parent
1be9d33b90
commit
26d9a2780c
1 file changed
+3
-1
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user