mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-04-19 06:12:54 +00:00
playername
This commit is contained in:
parent
1be9d33b90
commit
26d9a2780c
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user