mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-08-30 02:03:14 +00:00
playername
This commit is contained in:
@@ -517,6 +517,8 @@ onDeath()
|
|||||||
*/
|
*/
|
||||||
onDisconnectPlayer()
|
onDisconnectPlayer()
|
||||||
{
|
{
|
||||||
|
name = self.name;
|
||||||
|
|
||||||
self waittill( "disconnect" );
|
self waittill( "disconnect" );
|
||||||
self killTags();
|
self killTags();
|
||||||
|
|
||||||
@@ -527,7 +529,7 @@ onDisconnectPlayer()
|
|||||||
for ( i = 0; i < level.bots.size; i++ )
|
for ( i = 0; i < level.bots.size; i++ )
|
||||||
{
|
{
|
||||||
bot = level.bots[ 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