Fixed an issue where the inventory would not update if the number of stones in the deck reached a certain value.