mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-28 22:49:01 +01:00
renames flags to atom_flags for, well, atoms; transitions some reasonable atom flags to be more, well, obvious (#4837)
Co-authored-by: VM_USER <VM_USER>
This commit is contained in:
co-authored by
VM_USER <VM_USER>
parent
104dd3ba95
commit
fa3856bf7f
@@ -112,7 +112,7 @@
|
||||
// Splatter anything under us that survived the explosion.
|
||||
if(value != SD_EMPTY_TILE && T.contents.len)
|
||||
for(var/atom/movable/AM in T)
|
||||
if(!(AM.flags & ATOM_ABSTRACT) && !istype(AM, /mob/observer))
|
||||
if(!(AM.atom_flags & ATOM_ABSTRACT) && !istype(AM, /mob/observer))
|
||||
qdel(AM)
|
||||
|
||||
// Also spawn doors and loot.
|
||||
|
||||
@@ -53,11 +53,11 @@
|
||||
|
||||
// Destroy turf contents.
|
||||
for(var/obj/O in origin)
|
||||
if((O.flags & ATOM_ABSTRACT))
|
||||
if((O.atom_flags & ATOM_ABSTRACT))
|
||||
continue
|
||||
qdel(O) //crunch
|
||||
for(var/obj/O in T)
|
||||
if((O.flags & ATOM_ABSTRACT))
|
||||
if((O.atom_flags & ATOM_ABSTRACT))
|
||||
continue
|
||||
qdel(O) //crunch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user