mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
fixed bombs
This commit is contained in:
parent
cae7c993f5
commit
c21f2d5a38
@ -489,6 +489,9 @@ watchPickupGun()
|
||||
{
|
||||
wait 1;
|
||||
|
||||
if ( self UseButtonPressed() )
|
||||
continue;
|
||||
|
||||
weap = self GetCurrentWeapon();
|
||||
|
||||
if ( weap != "none" && self GetAmmoCount( weap ) )
|
||||
@ -2430,12 +2433,12 @@ use( time )
|
||||
if ( !isDefined( time ) )
|
||||
time = 0.05;
|
||||
|
||||
self botAction( "+use" );
|
||||
self botAction( "+activate" );
|
||||
|
||||
if ( time )
|
||||
wait time;
|
||||
|
||||
self botAction( "-use" );
|
||||
self botAction( "-activate" );
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user