From 2fc779f013e47ae0ff380c3592f1878c8e36ecdd Mon Sep 17 00:00:00 2001 From: ineed bots Date: Sun, 22 Sep 2024 11:28:03 -0600 Subject: [PATCH] fix switching weapons --- maps/mp/bots/_bot_script.gsc | 2 +- maps/mp/bots/_bot_utility.gsc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maps/mp/bots/_bot_script.gsc b/maps/mp/bots/_bot_script.gsc index 37e0df2..cc347f3 100644 --- a/maps/mp/bots/_bot_script.gsc +++ b/maps/mp/bots/_bot_script.gsc @@ -851,7 +851,7 @@ bot_weapon_think_loop( data ) continue; } - if ( isWeaponDroppable( weapon ) ) + if ( !isWeaponDroppable( weapon ) ) { continue; } diff --git a/maps/mp/bots/_bot_utility.gsc b/maps/mp/bots/_bot_utility.gsc index 9d3fd71..2a0a3a3 100644 --- a/maps/mp/bots/_bot_utility.gsc +++ b/maps/mp/bots/_bot_utility.gsc @@ -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 )