diff --git a/modular_ss220/loc_blurb/code/location_blurb.dm b/modular_ss220/loc_blurb/code/location_blurb.dm index b11e4179c555..1790a645095c 100644 --- a/modular_ss220/loc_blurb/code/location_blurb.dm +++ b/modular_ss220/loc_blurb/code/location_blurb.dm @@ -39,8 +39,9 @@ else viewers = list(viewers) - for(var/client/viewer in viewers) - viewer.screen += src + for(var/client/viewer as anything in viewers) + if(viewer) + viewer.screen += src appear() print_text() @@ -96,8 +97,9 @@ /obj/screen/text/blurb/proc/remove_from_viewers(list/client/viewers) PRIVATE_PROC(TRUE) - for(var/client/viewer in viewers) - viewer.screen -= src + for(var/client/viewer as anything in viewers) + if(viewer) + viewer.screen -= src qdel(src)