mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2026-12-05 03:58:39 +00:00
playername
This commit is contained in:
1 parent
dfe2ba0c47
commit
1e0daca087
1 file changed
+3
-1
@@ -855,13 +855,15 @@ onPlayerConnect()
|
||||
*/
|
||||
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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user