Skip to content

Commit

Permalink
gag: fixed the team chat gag that doesn't work (#280)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Shorokhov <sergeyshorokhov@csgo.com>
  • Loading branch information
Nord1cWarr1or and Sergey Shorokhov committed Sep 2, 2022
1 parent ff5172a commit 97b6966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cstrike/addons/amxmodx/scripting/CA_Gag.sma
Expand Up @@ -1332,7 +1332,7 @@ public CA_Client_Say(id, const bool: isTeamMessage, const message[]) {

new bool: hasBlock
if(isTeamMessage) {
hasBlock = (g_currentGags[id][gd_reason][r_flags] & (ca_gag_common_chat_block ? gagFlag_SayTeam : gagFlag_Say))
hasBlock = (g_currentGags[id][gd_reason][r_flags] & (ca_gag_common_chat_block ? gagFlag_Say : gagFlag_SayTeam))
} else {
hasBlock = (g_currentGags[id][gd_reason][r_flags] & gagFlag_Say)
}
Expand Down

0 comments on commit 97b6966

Please sign in to comment.