Skip to content

Commit

Permalink
Try to fix Knife in Knife Round
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYzn committed Jan 26, 2024
1 parent e86a1c1 commit e6fd440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatchBot/MatchRestrictItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ bool CMatchRestrictItem::PlayerHasRestrictItem(CBasePlayer* Player, ItemID item,
if (gMatchBot.GetKnifeRound())
{
// Do not allow if item differs from Klevar, Assault Suit or Knife
if (item != ITEM_KEVLAR || item != ITEM_ASSAULT || item != ITEM_KNIFE)
if (item != ITEM_KEVLAR && item != ITEM_ASSAULT && item != ITEM_KNIFE)
{
// Block this item
BlockItem = true;
Expand Down

0 comments on commit e6fd440

Please sign in to comment.