mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] New to init final (#10649)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e1b14a3570
commit
5853b61b55
@@ -3,15 +3,14 @@
|
||||
|
||||
//^Does the bug this comment refers to even exist anymore. idk.
|
||||
|
||||
/obj/item/stack/tile/New()
|
||||
..()
|
||||
/obj/item/stack/tile/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
if(!default_type)
|
||||
default_type = DEFAULT_WALL_MATERIAL
|
||||
material = get_material_by_name("[default_type]")
|
||||
if(!material)
|
||||
qdel(src)
|
||||
return 0
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
//recipes = material.get_recipes() No.
|
||||
stacktype = material.stack_type
|
||||
@@ -25,7 +24,6 @@
|
||||
flags |= NOCONDUCT
|
||||
|
||||
//matter = material.get_matter() Bad.
|
||||
return 1
|
||||
|
||||
|
||||
/obj/item/stack/material/get_material()
|
||||
|
||||
Reference in New Issue
Block a user