Replace all secondary flags with bitflags stored in the flags_2 var
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
|
||||
/obj/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback)
|
||||
..()
|
||||
if(HAS_SECONDARY_FLAG(src, FROZEN))
|
||||
if(flags_2 & FROZEN_2)
|
||||
visible_message("<span class='danger'>[src] shatters into a million pieces!</span>")
|
||||
qdel(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user