Fixing a few throw_at calls and modular computer processors Init.

This commit is contained in:
Ghommie
2019-11-04 00:12:41 +01:00
parent 4e8c8ad335
commit dcc81d92b5
5 changed files with 6 additions and 7 deletions

View File

@@ -17,8 +17,7 @@
machinery_computer = null
/obj/item/modular_computer/processor/New(comp)
STOP_PROCESSING(SSobj, src) // Processed by its machine
. = ..()
if(!comp || !istype(comp, /obj/machinery/modular_computer))
CRASH("Inapropriate type passed to obj/item/modular_computer/processor/New()! Aborting.")
return