Blacklist logic fix

This commit is contained in:
BlackMajor
2020-07-17 16:13:18 +12:00
parent fc909cd7c6
commit eb9b3da581

View File

@@ -814,14 +814,12 @@
for(var/typepath in can_hold)
if(istype(I,typepath))
grab = 1
for(var/badpath in cannot_hold)
if(istype(I,badpath))
if(user.emagged)
grab = 1
break
else
grab = 1
break
if(!user.emagged)
grab = 0
continue
//We can grab the item, finally.
if(grab)