mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2026-10-18 16:43:33 +00:00
playername
This commit is contained in:
1 parent
a836c9528e
commit
825d147ea2
1 file changed
+3
-1
@@ -447,13 +447,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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user