mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-20 21:25:42 +00:00
playername
This commit is contained in:
parent
6f2057c8fa
commit
582268aa3c
@ -604,13 +604,15 @@ watchScrabler()
|
|||||||
*/
|
*/
|
||||||
onDisconnectPlayer()
|
onDisconnectPlayer()
|
||||||
{
|
{
|
||||||
|
name = self.name;
|
||||||
|
|
||||||
self waittill( "disconnect" );
|
self waittill( "disconnect" );
|
||||||
waittillframeend;
|
waittillframeend;
|
||||||
|
|
||||||
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user