[MIRROR] More area flag option fixes (#9684)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-22 15:59:46 -07:00
committed by GitHub
parent 53df96252f
commit 798918f6d6

View File

@@ -469,7 +469,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
//RS Port #658 Start
var/area/A = get_area(destination)
if(A?.flag_check(AREA_BLOCK_GHOSTS) && !isbelly(destination))
if(A?.flag_check(AREA_BLOCK_GHOSTS) && !isbelly(destination) && !admin_ghosted)
to_chat(src,span_warning("Sorry, that area does not allow ghosts."))
if(following)
stop_following()