[MIRROR] converts area booleans to flags (#9595)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-08 15:57:55 +01:00
committed by GitHub
co-authored by Heroman3003 Kashargul
parent 7131e4602e
commit 893b4e2ac0
64 changed files with 221 additions and 559 deletions
+3 -3
View File
@@ -407,13 +407,13 @@
//CHOMPEdit end
//RS Port #658 Start
if(!holder)
if(isliving(mob) && A.block_phase_shift)
if(isliving(mob) && A.flag_check(AREA_BLOCK_PHASE_SHIFT))
to_chat(mob, span_warning("Something blocks you from entering this location while phased out."))
return
if(isobserver(mob) && A.block_ghosts)
if(isobserver(mob) && A.flag_check(AREA_BLOCK_GHOSTS))
to_chat(mob, span_warning("Ghosts can't enter this location."))
var/area/our_area = mobloc.loc
if(our_area.block_ghosts)
if(our_area.flag_check(AREA_BLOCK_GHOSTS))
var/mob/observer/dead/D = mob
D.return_to_spawn()
return