mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 22:05:44 +00:00
remove chopper queue on nuke end game
This commit is contained in:
parent
abb05306f5
commit
433b9e787f
@ -343,7 +343,18 @@ nukeEffects()
|
||||
}
|
||||
}
|
||||
else
|
||||
level maps\mp\killstreaks\_emp::destroyActiveVehicles( level.nukeInfo.player );
|
||||
{
|
||||
// clear the heli queue
|
||||
while (true)
|
||||
{
|
||||
chopper = queueRemoveFirst( "helicopter" );
|
||||
|
||||
if (!isDefined(chopper))
|
||||
break;
|
||||
}
|
||||
|
||||
level maps\mp\killstreaks\_emp::destroyActiveVehicles( level.nukeInfo.player, false );
|
||||
}
|
||||
|
||||
foreach( player in level.players )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user