Fixed issues Jorge found.

This commit is contained in:
Filip Maj committed 2017-09-09 16:30:29 -04:00
1 parent 16e99040e0
commit a309e651da
4 files changed
+15 -9

No files matched your search

@@ -112,7 +112,7 @@ function processNormalShop(player, choice)
else
player:SendMessage(0x20, "", "Player sold a thing at slot " .. tostring(sellResult)..".");
itemToSell = player:GetInventory(0x00):GetItemBySlot(sellResult.slot);
itemToSell = player:GetInventory(0x00):GetItemAtSlot(sellResult.slot);
gItemTOSell = GetItemGamedata(itemToSell.itemId);
player:GetInventory(0x63):AddItem(shopInfo.shopCurrancy, gItemTOSell.sellPrice);