Replace all secondary flags with bitflags stored in the flags_2 var
This commit is contained in:
@@ -81,14 +81,14 @@
|
||||
if(T.Adjacent(user))
|
||||
for(var/B in T)
|
||||
var/atom/movable/AM = B
|
||||
if(HAS_SECONDARY_FLAG(AM, HOLOGRAM))
|
||||
if(AM.flags_2 & HOLOGRAM_2)
|
||||
continue
|
||||
. += AM
|
||||
|
||||
/datum/personal_crafting/proc/get_surroundings(mob/user)
|
||||
. = list()
|
||||
for(var/obj/item/I in get_environment(user))
|
||||
if(HAS_SECONDARY_FLAG(I, HOLOGRAM))
|
||||
if(I.flags_2 & HOLOGRAM_2)
|
||||
continue
|
||||
if(istype(I, /obj/item/stack))
|
||||
var/obj/item/stack/S = I
|
||||
|
||||
Reference in New Issue
Block a user