New() goes in the trash, we've gotta Initialize()
This commit is contained in:
@@ -54,10 +54,10 @@ other types of metals and chemistry for reagents).
|
||||
var/list/blueprints = list()
|
||||
var/max_blueprints = 1
|
||||
|
||||
/obj/item/weapon/disk/design_disk/New()
|
||||
..()
|
||||
src.pixel_x = rand(-5, 5)
|
||||
src.pixel_y = rand(-5, 5)
|
||||
/obj/item/weapon/disk/design_disk/Initialize()
|
||||
. = ..()
|
||||
pixel_x = rand(-5, 5)
|
||||
pixel_y = rand(-5, 5)
|
||||
for(var/i in 1 to max_blueprints)
|
||||
blueprints += null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user