curtinrobotics / Boozebot

4 stars 2 forks source link

Fix issue with how the UpdateMenu function and Drink class handle multiple drinks #1

Closed Tomant1 closed 5 years ago

Tomant1 commented 5 years ago

The ingredient ratio isn't treated as a separate dictionary for each instance of the drink class and is instead updated as a whole which causes drinks to have the wrong ingredients as well as the wrong ratios of ingredients. This needs to be fixed so boozebot can handle multiple drinks.