mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-19 09:32:52 +00:00
playername
This commit is contained in:
parent
a3266c6de3
commit
093dc9cd8c
@ -448,13 +448,15 @@ fixPerksAndScriptKick()
|
||||
*/
|
||||
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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user