Skip to content

Commit

Permalink
Fix orbit menu not handling minimap_icons in list format (CO, XO, Sur…
Browse files Browse the repository at this point in the history
…geon, etc)
  • Loading branch information
Drulikar committed Jun 10, 2024
1 parent 63ce33d commit 0759516
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/mob/dead/observer/orbit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@
serialized["nickname"] = human.real_name

var/icon = human.assigned_equipment_preset?.minimap_icon
if(islist(icon))
for(var/key in icon)
icon = key
break
serialized["icon"] = icon ? icon : "private"

if(human.assigned_squad)
Expand Down

0 comments on commit 0759516

Please sign in to comment.