Banning from ghostrole mobspawners works again (#96059)

## About The Pull Request

Six months, no ghost role mobspawner bans have worked that entire time
This commit is contained in:
Leland Kemble
2026-05-13 17:54:58 -05:00
committed by GitHub
parent e58b4f4378
commit 622b7d62d7
+1 -1
View File
@@ -221,7 +221,7 @@
/obj/effect/mob_spawn/ghost_role/proc/can_ghost_take(mob/dead/observer/user)
if(is_banned_from(user.ckey, role_ban))
to_chat(user, span_warning("You are banned from this role!"))
return FALL_STOP_INTERCEPTING
return FALSE
if(!(GLOB.ghost_role_flags & GHOSTROLE_SPAWNER) && !(flags_1 & ADMIN_SPAWNED_1))
to_chat(user, span_warning("An admin has temporarily disabled non-admin ghost roles!"))
return FALSE