Ore redemption machine cleanup (#26708)

* Ore redemption machine uses material containers

* ORM won't send messages when empty

* QDEL_NULL for datums, and removes some unused lists
This commit is contained in:
Profakos
2017-05-01 18:53:37 +02:00
committed by duncathan salt
parent abf59e153f
commit b3f587409d
2 changed files with 113 additions and 101 deletions
+2 -2
View File
@@ -71,7 +71,6 @@
var/selected_material = MAT_METAL
var/selected_alloy = null
var/datum/research/files
var/list/categories = list("Alloys")
/obj/machinery/mineral/processing_unit/Initialize()
. = ..()
@@ -81,7 +80,8 @@
/obj/machinery/mineral/processing_unit/Destroy()
CONSOLE = null
qdel(materials)
QDEL_NULL(materials)
QDEL_NULL(files)
return ..()
/obj/machinery/mineral/processing_unit/HasProximity(atom/movable/AM)