Closed umbrellas are smaller.

This commit is contained in:
MistakeNot4892
2021-10-13 20:08:53 +11:00
committed by atermonera
parent 0364e3e144
commit 086e3c2c59

View File

@@ -20,7 +20,7 @@
slot_flags = SLOT_BELT
force = 5
throwforce = 5
w_class = ITEMSIZE_NORMAL
w_class = ITEMSIZE_SMALL
var/open = FALSE
/obj/item/weapon/melee/umbrella/Initialize()
@@ -36,6 +36,7 @@
addblends = icon_state + "_a"
item_state = icon_state
update_icon()
w_class = open ? ITEMSIZE_NORMAL : ITEMSIZE_SMALL
if(ishuman(src.loc))
var/mob/living/carbon/human/H = src.loc
H.update_inv_l_hand(0)