fixes check_contents blacklist check (#48520)

This commit is contained in:
swindly
2020-01-02 19:53:09 +00:00
committed by Emmett Gaines
parent f55acdd8d6
commit ee056e6cba
+1 -1
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]