Skip to content

Commit

Permalink
dview return val fix
Browse files Browse the repository at this point in the history
  • Loading branch information
X0-11 committed Jun 3, 2024
1 parent f655f4d commit 479eb1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/_helpers/unsorted.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)
set_light(origin.light_range, origin.light_power, origin.light_color)

/mob/dview/Initialize()
..()
. = ..()
// We don't want to be in any mob lists; we're a dummy not a mob.
SSmobs.mob_list -= src

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/observer/virtual/base.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ var/list/all_virtual_listeners = list()
return TRUE

/mob/shall_have_virtual_mob()
return (src in GLOB.mob_list)
return (src in SSmobs.mob_list)

0 comments on commit 479eb1b

Please sign in to comment.