mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2025-05-10 14:14:51 +00:00
playername
This commit is contained in:
parent
65435391bc
commit
c4481626a5
@ -244,13 +244,15 @@ handleBots()
|
|||||||
*/
|
*/
|
||||||
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