mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Let's save some more time here.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user