Item quantity bug after swapping in inventory

Players can hold (attribute max of Backpack) ores.
Backpack is counted every second (because i havent any control on changing quantity in Shops) as sum of ores in inventory.
But counting item quantity can be broken by swaping items in inventory.

I’ve tried to count ALL items in inventory, but it doesnt work too.

How to reach the bug:

How I count ores:

Setting value of Backpack:

We will look into this issue in a couple of days. Thanks for your patience.

1 Like

can you send me the link of game