fixes crafting blacklists not working at all (#17084)

This commit is contained in:
Theos
2022-12-15 17:37:10 -05:00
committed by GitHub
parent b3261be71d
commit bfe4371583

View File

@@ -82,7 +82,7 @@
var/needed_amount = R.reqs[requirement_path]
for(var/content_item_path in contents)
// Right path and not blacklisted
if(!ispath(content_item_path, requirement_path) || R.blacklist.Find(requirement_path))
if(!ispath(content_item_path, requirement_path) || R.blacklist.Find(content_item_path))
continue
needed_amount -= contents[content_item_path]