since num_parts() wasnt given the current inventory as an argument, it would count the number of parts in the last updated inventorymsg. This caused a failed removal from vector of part after pick up. The bug hasn't resurfaced after this fix but further testing is required since it isnt a regularly occurring bug
since num_parts() wasnt given the current inventory as an argument, it would count the number of parts in the last updated inventorymsg. This caused a failed removal from vector of part after pick up. The bug hasn't resurfaced after this fix but further testing is required since it isnt a regularly occurring bug