mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-20 01:42:53 +00:00
fix
This commit is contained in:
parent
16ae35f892
commit
ab98267dfd
@ -687,8 +687,17 @@ chopperWatch()
|
|||||||
while(!isDefined(level.chopper))
|
while(!isDefined(level.chopper))
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
|
|
||||||
|
chopper = level.chopper;
|
||||||
|
|
||||||
|
if (!isEntity(chopper))
|
||||||
|
{
|
||||||
|
chopper = level.chopper["allies"];
|
||||||
|
if (!isDefined(chopper)
|
||||||
|
chopper = level.chopper["axis"];
|
||||||
|
}
|
||||||
|
|
||||||
level.bot_chopper = true;
|
level.bot_chopper = true;
|
||||||
level.chopper watchChopper();
|
chopper watchChopper();
|
||||||
level.bot_chopper = false;
|
level.bot_chopper = false;
|
||||||
|
|
||||||
while(isDefined(level.chopper))
|
while(isDefined(level.chopper))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user