From c342446e46f5eef88c3c4bdd08a4a22b72433f7e Mon Sep 17 00:00:00 2001 From: ineed bots Date: Fri, 22 Dec 2023 00:28:29 -0600 Subject: [PATCH] fix these --- maps/mp/bots/_bot_chat.gsc | 3 +-- maps/mp/bots/_bot_utility.gsc | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/maps/mp/bots/_bot_chat.gsc b/maps/mp/bots/_bot_chat.gsc index 6f50939..a997a07 100644 --- a/maps/mp/bots/_bot_chat.gsc +++ b/maps/mp/bots/_bot_chat.gsc @@ -48,8 +48,7 @@ BotDoChat( chance, string, isTeam ) return; } - if ( chance >= 100 || mod >= 100.0 || - ( randomint( 100 ) < ( chance * mod ) + 0 ) ) + if ( chance >= 100 || mod >= 100.0 || ( randomint( 100 ) < ( chance * mod ) + 0 ) ) { if ( isdefined( isTeam ) && isTeam ) { diff --git a/maps/mp/bots/_bot_utility.gsc b/maps/mp/bots/_bot_utility.gsc index 589e3f0..dee69c4 100644 --- a/maps/mp/bots/_bot_utility.gsc +++ b/maps/mp/bots/_bot_utility.gsc @@ -820,11 +820,7 @@ allowTeamChoice() */ waittill_any_timeout( timeOut, string1, string2, string3, string4, string5 ) { - if ( ( !isdefined( string1 ) || string1 != "death" ) && - ( !isdefined( string2 ) || string2 != "death" ) && - ( !isdefined( string3 ) || string3 != "death" ) && - ( !isdefined( string4 ) || string4 != "death" ) && - ( !isdefined( string5 ) || string5 != "death" ) ) + if ( ( !isdefined( string1 ) || string1 != "death" ) && ( !isdefined( string2 ) || string2 != "death" ) && ( !isdefined( string3 ) || string3 != "death" ) && ( !isdefined( string4 ) || string4 != "death" ) && ( !isdefined( string5 ) || string5 != "death" ) ) { self endon( "death" ); }