mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Finish Machinery new to init (#17334)
* Finish Machinery new to init * fix that --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
f362f6585f
commit
4d36cfdaeb
@@ -253,13 +253,13 @@ var/global/list/grub_machine_overlays = list()
|
||||
ignored_targets += A
|
||||
|
||||
|
||||
/obj/machinery/abstract_grub_machine/New()
|
||||
..()
|
||||
/obj/machinery/abstract_grub_machine/Initialize(mapload)
|
||||
. = ..()
|
||||
shuffle_power_usages()
|
||||
grub = loc
|
||||
if(!istype(grub))
|
||||
grub = null
|
||||
qdel(src)
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
/obj/machinery/abstract_grub_machine/Destroy()
|
||||
grub = null
|
||||
|
||||
Reference in New Issue
Block a user