diff --git a/modules/shops/server.lua b/modules/shops/server.lua index fe90ecd48d..baf64113ab 100644 --- a/modules/shops/server.lua +++ b/modules/shops/server.lua @@ -29,7 +29,7 @@ local function setupShopItems(id, shopType, shopName, groups) slot = i, weight = Item.weight, count = slot.count, - price = (server.randomprices and not slot.currency or slot.currency == 'money') and (math.ceil(slot.price * (math.random(80, 120)/100))) or slot.price or 0, + price = (server.randomprices and (not slot.currency or slot.currency == 'money')) and (math.ceil(slot.price * (math.random(80, 120)/100))) or slot.price or 0, metadata = slot.metadata, license = slot.license, currency = slot.currency,