From 473013dfb363e0441946e39b498013dece843412 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Thu, 4 Apr 2024 16:59:33 -0600 Subject: [PATCH] small fixes --- maps/mp/bots/_bot_internal.gsc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maps/mp/bots/_bot_internal.gsc b/maps/mp/bots/_bot_internal.gsc index 1e652b2..4e3a789 100644 --- a/maps/mp/bots/_bot_internal.gsc +++ b/maps/mp/bots/_bot_internal.gsc @@ -234,6 +234,12 @@ onWeaponChange() { first = false; newWeapon = self getcurrentweapon(); + + // hack fix for botstop overridding weapon + if ( newWeapon != "none" ) + { + self switchtoweapon( newWeapon ); + } } else { @@ -1935,6 +1941,7 @@ aim() for ( ;; ) { wait 0.05; + waittillframeend; if ( !isalive( self ) ) {