From 73141eddf47e78a7bbf8b157d654a110b4c23f8e Mon Sep 17 00:00:00 2001 From: ineed bots Date: Thu, 4 Apr 2024 16:55:03 -0600 Subject: [PATCH] small fix --- maps/bots/_bot_internal.gsc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maps/bots/_bot_internal.gsc b/maps/bots/_bot_internal.gsc index 1cdc437..898ea4a 100644 --- a/maps/bots/_bot_internal.gsc +++ b/maps/bots/_bot_internal.gsc @@ -182,6 +182,12 @@ onWeaponChange() { first = false; newWeapon = self getcurrentweapon(); + + // hack fix for botstop overridding weapon + if ( newWeapon != "none" ) + { + self switchtoweapon( newWeapon ); + } } else { @@ -1658,6 +1664,7 @@ aim() for ( ;; ) { wait 0.05; + waittillframeend; if ( ( isdefined( level.intermission ) && level.intermission ) || self.bot.isfrozen ) {