Moves some list initializations to New

Fixes missing ..() calls in New()
This commit is contained in:
AnturK
2016-06-07 18:39:13 +02:00
committed by AnturK
parent 0187de935d
commit 19eb97ae18
41 changed files with 74 additions and 56 deletions
@@ -16,6 +16,7 @@
var/obj/item/device/toner/ink = null
/obj/item/weapon/airlock_painter/New()
..()
ink = new /obj/item/device/toner(src)
//This proc doesn't just check if the painter can be used, but also uses it.
+1
View File
@@ -104,6 +104,7 @@
return(BRUTELOSS)
/obj/item/weapon/screwdriver/New(loc, var/param_color = null)
..()
if(!icon_state)
if(!param_color)
param_color = pick("red","blue","pink","brown","green","cyan","yellow")