Update security_officer.dm

This commit is contained in:
silicons
2022-08-20 13:07:53 -07:00
committed by GitHub
parent b49c1c49e5
commit 5a32c5ec40

View File

@@ -43,7 +43,7 @@ GLOBAL_LIST_INIT(available_depts, list(SEC_DEPT_ENGINEERING, SEC_DEPT_MEDICAL, S
// Assign department security
var/department
if(player_client?.prefs)
department = M.client.prefs.prefered_security_department
department = player_client.prefs.prefered_security_department
if(!LAZYLEN(GLOB.available_depts) || department == "None")
return
else if(department in GLOB.available_depts)