Permalink
Browse files

Add missing '!'

  • Loading branch information...
Bara committed May 2, 2018
1 parent 847b76f commit b0d410eb043b9f6558059b8b0b9831853d3d84a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/sourcemod/scripting/ttt/ttt_shop.sp
@@ -661,7 +661,7 @@ bool ClientBuyItem(int client, char[] item, bool menu, bool free = false)
}
// Reset price if item non discountable
if (free && price > 0 && !temp_item[Discount] && temp_item[Price] != price)
if (!free && price > 0 && !temp_item[Discount] && temp_item[Price] != price)
{
price = temp_item[Price];
}

0 comments on commit b0d410e

Please sign in to comment.