Let's save some more time here.

This commit is contained in:
AnturK
2019-12-02 10:09:58 +01:00
parent 6b422a3af8
commit a94c600d5a
+1 -1
View File
@@ -22,7 +22,7 @@
colour_type - a typepath (subtyped from /datum/client_colour)
*/
/mob/proc/add_client_colour(colour_type)
if(!ispath(colour_type, /datum/client_colour))
if(!ispath(colour_type, /datum/client_colour) || QDELING(src))
return
var/datum/client_colour/CC = new colour_type()