From 5e63953c868ee0dfcb15042983d5cd8c044b9afa Mon Sep 17 00:00:00 2001 From: skull132 Date: Mon, 18 Jan 2016 19:16:21 +0200 Subject: [PATCH] Law Computers spawning inside robot heads This makes the creation of cyborgs into the default result when making a robot chassis, as it's meant to be. This way, no more accidental IPC creation. To make an IPC, simply remove the law computer from the head before attaching the head to the robot torso. --- code/game/objects/items/robot/robot_parts.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/robot/robot_parts.dm b/code/game/objects/items/robot/robot_parts.dm index 694f5b09..8a21f4b3 100644 --- a/code/game/objects/items/robot/robot_parts.dm +++ b/code/game/objects/items/robot/robot_parts.dm @@ -114,6 +114,10 @@ assembly.head = src move_into_robot(user,assembly) +/obj/item/robot_parts/head/New() + ..() + + law_computer = new() /obj/item/robot_parts/robot_suit name = "robot endoskeleton"