mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 13:12:22 +00:00
* Fixes infinite loop following cooking error ``` while (select_recipe(available_recipes,C) == recipe) var/list/TR = list() TR += recipe.make_food(C) ``` This would never consume reagents due to an early return, meaning it would never terminate from the while loop. Clearing the reagents is an easy fix for something that will hopefully never happen, and avoids locking the server up if it does. Also makes such failures obvious. TODO: Unit test for recipes without results. * Fixes/tweaks * fix CI