Files
Polaris/code/modules
MarinaGryphon f95bcd462d Fixes infinite loop following cooking error (#8118)
* 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
2021-06-06 00:36:12 -09:00
..
2021-05-29 10:08:39 -09:00
2021-03-04 07:03:19 +11:00
2021-04-28 19:55:26 -07:00
2021-06-06 00:22:27 -09:00
2021-02-21 12:32:38 -09:00
2021-03-23 09:14:55 +11:00
2021-05-29 10:08:39 -09:00
2021-04-27 02:11:45 +01:00
2021-05-25 18:17:26 -09:00