mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
changes default prefs to deadmin you as antagonist/head/sec/silicon, stops auto deadmin on localhost (#88028)
This commit is contained in:
@@ -300,7 +300,9 @@ ADMIN_VERB(edit_admin_permissions, R_PERMISSIONS, "Permissions Panel", "Edit adm
|
||||
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))
|
||||
if(owner.is_localhost())
|
||||
return FALSE
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user