From c7b7ff0781bfbcb424a010c25d867ff3f8099ff5 Mon Sep 17 00:00:00 2001 From: Mechoid Date: Sun, 1 Mar 2020 14:20:05 -0800 Subject: [PATCH] I'm an idiot thanks Travis, and internals check fix. --- code/modules/mob/living/carbon/human/life.dm | 5 +++++ code/modules/research/mechfab_designs.dm | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 77c32b0d94..249d3b04f5 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -356,6 +356,11 @@ if(!rig.offline && (rig.air_supply && internal == rig.air_supply)) rig_supply = rig.air_supply + else if(istype(belt,/obj/item/weapon/rig)) + var/obj/item/weapon/rig/rig = belt + if(!rig.offline && (rig.air_supply && internal == rig.air_supply)) + rig_supply = rig.air_supply + if ((!rig_supply && !contents.Find(internal)) || !((wear_mask && (wear_mask.item_flags & AIRTIGHT)) || (head && (head.item_flags & AIRTIGHT)))) internal = null diff --git a/code/modules/research/mechfab_designs.dm b/code/modules/research/mechfab_designs.dm index 08057fe645..15a7ab29ac 100644 --- a/code/modules/research/mechfab_designs.dm +++ b/code/modules/research/mechfab_designs.dm @@ -893,7 +893,7 @@ desc = "A compact overclocking system for a hardsuit." id = "rig_component_sprinter" req_tech = list(TECH_MATERIAL = 5, TECH_ENGINEERING = 5, TECH_BIO = 4, TECH_POWER = 4) - materials = list(MAT_PLASTEEL = 2000, MAT_GRAPHITE = 1500, MAT_PLASTIC = 500, TECH_VERDANTIUM = 1000) + materials = list(MAT_PLASTEEL = 2000, MAT_GRAPHITE = 1500, MAT_PLASTIC = 500, MAT_VERDANTIUM = 1000) build_path = /obj/item/rig_module/sprinter /datum/design/item/mechfab/rigsuit/meson