From f6ef394d129e4fca351076ba2ba3eb2a6253a028 Mon Sep 17 00:00:00 2001 From: Shadowlight213 Date: Wed, 12 Oct 2016 19:40:08 -0700 Subject: [PATCH] Fixes modular computer integrity --- code/modules/modular_computers/computers/item/computer.dm | 1 + code/modules/modular_computers/computers/item/processor.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/modules/modular_computers/computers/item/computer.dm b/code/modules/modular_computers/computers/item/computer.dm index 69ed544ded5..08b1a3eb19b 100644 --- a/code/modules/modular_computers/computers/item/computer.dm +++ b/code/modules/modular_computers/computers/item/computer.dm @@ -31,6 +31,7 @@ var/steel_sheet_cost = 5 // Amount of steel sheets refunded when disassembling an empty frame of this computer. obj_integrity = 100 + integrity_failure = 50 max_integrity = 100 armor = list(melee = 0, bullet = 20, laser = 20, energy = 100, bomb = 0, bio = 100, rad = 100, fire = 0, acid = 0) diff --git a/code/modules/modular_computers/computers/item/processor.dm b/code/modules/modular_computers/computers/item/processor.dm index e9b7f8d52ff..0a04aad1032 100644 --- a/code/modules/modular_computers/computers/item/processor.dm +++ b/code/modules/modular_computers/computers/item/processor.dm @@ -30,6 +30,7 @@ hardware_flag = machinery_computer.hardware_flag max_hardware_size = machinery_computer.max_hardware_size steel_sheet_cost = machinery_computer.steel_sheet_cost + obj_integrity = machinery_computer.obj_integrity max_integrity = machinery_computer.max_integrity integrity_failure = machinery_computer.integrity_failure base_active_power_usage = machinery_computer.base_active_power_usage