Fixes #9178, hydroponics tray and device analyser not playing nice with their names (#12883)

This commit is contained in:
DrCelt
2016-12-18 06:09:23 -08:00
committed by Pieter-Jan Briers
parent e1691441a4
commit be5fd65257

View File

@@ -11,7 +11,7 @@
/datum/design/mechanic_design/New(var/obj/O) //sets the name, type, design, origin_tech, and circuit, all by itself /datum/design/mechanic_design/New(var/obj/O) //sets the name, type, design, origin_tech, and circuit, all by itself
if(!istype(O)) if(!istype(O))
return return
name = O.name name = initial(O.name)
desc = initial(O.desc) //we use initial because some things edit the description desc = initial(O.desc) //we use initial because some things edit the description
build_path = O.type build_path = O.type
design_list += src //puts us in the design list to be found later, possibly design_list += src //puts us in the design list to be found later, possibly