Fixed bug: challenges were taking too many items from inventory