From fc3aca384a5f07af0a0531c25220ef17f2e2a69a 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 b5fc87c769..2ea7bd5040 100644 --- a/code/modules/mob/living/say.dm +++ b/code/modules/mob/living/say.dm @@ -361,7 +361,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