mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-05-12 14:34:51 +00:00
fix switching weapons
This commit is contained in:
parent
df30894124
commit
2fc779f013
@ -851,7 +851,7 @@ bot_weapon_think_loop( data )
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( isWeaponDroppable( weapon ) )
|
||||
if ( !isWeaponDroppable( weapon ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
@ -1383,7 +1383,7 @@ parseTokensIntoWaypoint( tokens )
|
||||
readWpsFromFile( mapname )
|
||||
{
|
||||
waypoints = [];
|
||||
filename = mapname + "_wp.csv";
|
||||
filename = "waypoints/" + mapname + "_wp.csv";
|
||||
f = openfile( filename, "read" );
|
||||
|
||||
if ( f < 0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user