mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-22 18:25:44 +00:00
fixed bombs
This commit is contained in:
parent
d3f2f192f0
commit
c2f86e7120
@ -242,6 +242,9 @@ watchPickupGun()
|
||||
{
|
||||
wait 1;
|
||||
|
||||
if ( self UseButtonPressed() )
|
||||
continue;
|
||||
|
||||
weap = self GetCurrentWeapon();
|
||||
|
||||
if ( weap != "none" && self GetAmmoCount( weap ) )
|
||||
@ -2212,12 +2215,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