Fixes srcs, srcs.

This commit is contained in:
Mieszko Jędrzejczak
2016-07-13 10:34:51 +02:00
parent 52fbdd48b6
commit 7f59ffda31
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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,"<span class='warning'>You must be wearing [src] to put up the hood!</span>")
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()