Fixes search in crafting menu (#94623)

## About The Pull Request
The frontend is expecting a recipe's requirements `reqs` to be an
object, but it doesn't send it when there are none

<img width="415" height="102" alt="image"
src="https://github.com/user-attachments/assets/b4c453e6-6d17-4733-bfe2-3e44153d7962"
/>

This kills the tgui
## Why It's Good For The Game
Fixes #94604
## Changelog
🆑
fix: Fixed a bluescreen in the personal crafting menu
/🆑
This commit is contained in:
Jeremiah
2025-12-28 19:02:39 -05:00
committed by GitHub
parent 89311ee03e
commit da7ee7e532
+1 -1
View File
@@ -677,8 +677,8 @@
data["structures"] += atoms.Find(req_atom)
// Ingredients / Materials
data["reqs"] = list()
if(recipe.reqs.len)
data["reqs"] = list()
for(var/req_atom in recipe.reqs)
var/id = atoms.Find(req_atom)
data["reqs"]["[id]"] = recipe.reqs[req_atom]