mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
it works again (#7385)
This commit is contained in:
@@ -18,7 +18,8 @@ GLOBAL_LIST_EMPTY(ckey_to_sooc_name)
|
||||
|
||||
var/static/list/job_lookup = list("Security Officer"=TRUE, "Warden"=TRUE, "Detective"=TRUE, "Head of Security"=TRUE, "Captain"=TRUE, "Blueshield"=TRUE, "Security Medic"=TRUE, "Security Sergeant"=TRUE, "Civil Disputes Officer"=TRUE)
|
||||
if(!holder)
|
||||
if(!mob.mind || !job_lookup[mob.mind.assigned_role])
|
||||
var/job = mob?.mind.assigned_role
|
||||
if(!job || !job_lookup[job])
|
||||
to_chat(src, "<span class='danger'>You're not a security role!</span>")
|
||||
return
|
||||
if(!GLOB.sooc_allowed)
|
||||
|
||||
Reference in New Issue
Block a user