say() safety check on client

Spawn keeps it from destroying all say(), thankfully, but needs to be fixed.
This commit is contained in:
Arokha Sieyes
2018-02-23 15:56:16 -05:00
committed by Leshana
parent fab0800b51
commit 286a8651d2

View File

@@ -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