From 286a8651d26b14fe80cde1f11a88c17366c71894 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Fri, 23 Feb 2018 15:56:16 -0500 Subject: [PATCH] say() safety check on client Spawn keeps it from destroying all say(), thankfully, but needs to be fixed. --- code/modules/mob/living/say.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/say.dm b/code/modules/mob/living/say.dm index 952d3dc9f1..9e4ede05a1 100644 --- a/code/modules/mob/living/say.dm +++ b/code/modules/mob/living/say.dm @@ -359,7 +359,8 @@ proc/get_radio_key_from_channel(var/channel) var/list/clients_from_image = images_to_clients[I] for(var/client in clients_from_image) var/client/C = client - C.images -= I + if(C) //Could have disconnected after message sent, before removing bubble. + C.images -= I qdel(I) //Log the message to file