overcharging when using up a stack instead of single item Pull request by entrez: shop bill was being inflated by item count if more that one unpaid item got used up at once. Lighting N unpaid candles charged N * N * single_candle_price instead of the intended N * single_candle_price. This PR was in response to issue #1236 by Xdminsy: usage fees for applying more unpaid candles are multiplied by amount once more. Closes #1237 Closes #1236
180 KiB
180 KiB