Fixes material container flags precedence

This commit is contained in:
Jordan Brown
2017-09-30 10:45:01 -05:00
committed by KorPhaeron
parent 69af4a34f7
commit c1353ceffb
+1 -1
View File
@@ -54,7 +54,7 @@
var/list/tc = allowed_typecache
if(user.a_intent == INTENT_HARM)
return FALSE
if((I.flags_2 & HOLOGRAM_2 | NO_MAT_REDEMPTION_2) || (tc && !is_type_in_typecache(I, tc)))
if((I.flags_2 & (HOLOGRAM_2 | NO_MAT_REDEMPTION_2)) || (tc && !is_type_in_typecache(I, tc)))
to_chat(user, "<span class='warning'>[parent] won't accept [I]!</span>")
return FALSE
. = TRUE