mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-20 13:35:43 +00:00
playername
This commit is contained in:
parent
7fb2906d62
commit
b05344f0d7
@ -272,6 +272,8 @@ onPlayerConnect()
|
||||
*/
|
||||
onDisconnectAll()
|
||||
{
|
||||
name = self.playername;
|
||||
|
||||
self waittill( "disconnect" );
|
||||
|
||||
level.players = array_remove( level.players, self );
|
||||
@ -281,7 +283,7 @@ onDisconnectAll()
|
||||
for ( i = 0; i < level.bots.size; i++ )
|
||||
{
|
||||
bot = level.bots[ i ];
|
||||
bot BotNotifyBotEvent( "connection", "disconnected", self, self.playername );
|
||||
bot BotNotifyBotEvent( "connection", "disconnected", self, name );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user