mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2026-10-10 20:41:26 +00:00
fix switching weapons
This commit is contained in:
1 parent
df30894124
commit
2fc779f013
2 files changed
+2
-2
No files matched your search
@@ -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 )
|
||||
|
||||
Reference in new issue
Block a user