Permalink
Browse files

Fix for buying items

  • Loading branch information...
1 parent 217a66d commit 1bdff41211fd1255563114760ef0fa4503a0e6ef @Zamirathe Zamirathe committed May 27, 2015
Showing with 3 additions and 3 deletions.
  1. +2 −2 UconomyBasicShop/Properties/AssemblyInfo.cs
  2. +1 −1 UconomyBasicShop/UconomyBasicShop.cs
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.2.2.1")]
-[assembly: AssemblyFileVersion("1.2.2.1")]
+[assembly: AssemblyVersion("1.2.2.2")]
+[assembly: AssemblyFileVersion("1.2.2.2")]
@@ -327,7 +327,7 @@ public void Buy(RocketPlayer playerid, string[] components0)
RocketChat.Say(playerid, message);
return;
}
- playerid.GiveItem(id, amttobuy, false);
+ playerid.GiveItem(id, amttobuy);
newbal = Uconomy.Instance.Database.IncreaseBalance(playerid.CSteamID, (cost * -1));
message = UconomyBasicShop.Instance.Translate("item_buy_msg", new object[] {name, cost, Uconomy.Instance.Configuration.MoneyName, newbal, Uconomy.Instance.Configuration.MoneyName, amttobuy});
if (UconomyBasicShop.Instance.OnShopBuy != null)

0 comments on commit 1bdff41

Please sign in to comment.