stops antag menu from runtiming when high value items are nullspaced (#28407)

This commit is contained in:
chuga-git
2025-02-20 09:07:44 -06:00
committed by GitHub
parent 30e0376b1e
commit 55605ad8ae
+1 -1
View File
@@ -101,7 +101,7 @@ RESTRICT_TYPE(/datum/ui_module/admin/antagonist_menu)
var/list/temp_list = list()
temp_list["name"] = target.name
temp_list["person"] = get(target, /mob/living)
temp_list["loc"] = target.loc.name
temp_list["loc"] = target.loc ? target.loc.name : "null"
temp_list["uid"] = target.UID()
var/turf/T = get_turf(target)
temp_list["admin_z"] = !T || is_admin_level(T.z)