Updates Part One

This commit is contained in:
Unknown
2019-04-03 13:40:56 -04:00
parent b21060f142
commit df96660ddf
14 changed files with 558 additions and 21 deletions

View File

@@ -10,6 +10,12 @@
var/obj/machinery/modular_computer/machinery_computer = null
/obj/item/modular_computer/processor/Destroy()
if(machinery_computer && (machinery_computer.cpu == src))
machinery_computer.cpu = null
machinery_computer = null
return ..()
// Due to how processes work, we'd receive two process calls - one from machinery type and one from our own type.
// Since we want this to be in-sync with machinery (as it's hidden type for machinery-based computers) we'll ignore
// non-relayed process calls.