Skip to content

Commit

Permalink
stops antag menu from runtiming when high value items are nullspaced (P…
Browse files Browse the repository at this point in the history
  • Loading branch information
chuga-git authored Feb 20, 2025
1 parent 30e0376 commit 55605ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/admin/menus/antagonist_menu.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 55605ad

Please sign in to comment.