mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 21:10:30 +01:00
Maps in modular computers
- Maps in bunch of modular consoles, mostly replacing old consoles with them. I've replaced them with relevant department presets. - Engineering control room merged with Atmospherics control room, under single area. - Fixes possible qdel() issue with console's/laptop's processor object. - Removes Karolis's console preset, as it is now part of Command console preset under different typepath.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
/obj/machinery/modular_computer/console/card
|
||||
console_department = "command"
|
||||
|
||||
/obj/machinery/modular_computer/console/card/New()
|
||||
..()
|
||||
var/obj/item/weapon/computer_hardware/hard_drive/HDD = cpu.hard_drive
|
||||
var/datum/computer_file/program/prog = ntnet_global.find_ntnet_file_by_name("cardmod")
|
||||
HDD.store_file(prog.clone())
|
||||
cpu.card_slot = new/obj/item/weapon/computer_hardware/card_slot(src)
|
||||
Reference in New Issue
Block a user