mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Add preference to disable deadmin preferences in CentCom (#61751)
This commit is contained in:
@@ -304,6 +304,9 @@
|
||||
D.deactivate() //after logs so the deadmined admin can see the message.
|
||||
|
||||
/datum/admins/proc/auto_deadmin()
|
||||
if (owner.prefs.read_preference(/datum/preference/toggle/bypass_deadmin_in_centcom) && is_centcom_level(owner.mob.z))
|
||||
return FALSE
|
||||
|
||||
to_chat(owner, span_interface("You are now a normal player."), confidential = TRUE)
|
||||
var/old_owner = owner
|
||||
deactivate()
|
||||
|
||||
Reference in New Issue
Block a user