From 7f59ffda319ea0b1f17e2d34ea230a5f0e835ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mieszko=20J=C4=99drzejczak?= Date: Wed, 13 Jul 2016 10:34:51 +0200 Subject: [PATCH] Fixes srcs, srcs. --- code/modules/clothing/suits/armor.dm | 2 +- code/modules/clothing/suits/hood.dm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm index 76d3a2592ca..f9e88b32dfa 100644 --- a/code/modules/clothing/suits/armor.dm +++ b/code/modules/clothing/suits/armor.dm @@ -96,7 +96,7 @@ icon_state = "secjacket_open" item_state = "hos" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS - armor = list(melee = 20, bullet = 10, laser = 20, energy = 5, bomb = 15, bio = 0, rad = 0) + armor = list(melee = 15, bullet = 10, laser = 20, energy = 5, bomb = 15, bio = 0, rad = 0) cold_protection = UPPER_TORSO|LOWER_TORSO|ARMS heat_protection = UPPER_TORSO|LOWER_TORSO|ARMS ignore_suitadjust = 0 diff --git a/code/modules/clothing/suits/hood.dm b/code/modules/clothing/suits/hood.dm index 28f67a4925b..e6d6c91508f 100644 --- a/code/modules/clothing/suits/hood.dm +++ b/code/modules/clothing/suits/hood.dm @@ -52,8 +52,8 @@ /obj/item/clothing/suit/hooded/proc/ToggleHood() if(!suit_adjusted) - if(ishuman(src.loc)) - var/mob/living/carbon/human/H = src.loc + if(ishuman(loc)) + var/mob/living/carbon/human/H = loc if(H.wear_suit != src) to_chat(H,"You must be wearing [src] to put up the hood!") return @@ -62,7 +62,7 @@ return else if(H.equip_to_slot_if_possible(hood,slot_head,0,0,1)) suit_adjusted = 1 - src.icon_state = "[initial(icon_state)]_hood" + icon_state = "[initial(icon_state)]_hood" H.update_inv_wear_suit() else RemoveHood()