Skip to content

Commit

Permalink
this might fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Jul 18, 2024
1 parent 865ae9c commit 7ace3d6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions code/modules/mob/dead/observer/orbit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,21 @@
var/list/pois = getpois(skip_mindless = TRUE, specify_dead_role = FALSE, only_realname = TRUE)
for (var/name in pois)
var/list/serialized = list()
serialized["name"] = name
if(name)
serialized["name"] = name
else
serialized["name"] = "Unknown"

var/poi = pois[name]

serialized["ref"] = REF(poi)

var/mob/M = poi
if(M.name)
serialized["fake_name"] = M.name
else
serialized["fake_name"] = "Unknown"

serialized["fake_name"] = M.name
if (istype(M))
if (isobserver(M))
ghosts += list(serialized)
Expand Down

0 comments on commit 7ace3d6

Please sign in to comment.