family heirlooms properly open the bag upon spawning if they're in the bag (#37754)

This commit is contained in:
Iamgoofball
2018-05-10 22:24:10 -07:00
committed by letterjay
parent 20ac9089a7
commit d0a5aaa4ee
+2 -2
View File
@@ -65,8 +65,8 @@
var/where = H.equip_in_one_of_slots(heirloom, slots)
if(!where)
where = "at your feet"
if(where == "in your backpack")
H.back.SendSignal(COMSIG_TRY_STORAGE_SHOW, H)
else if(where == "in your backpack")
H.back.SendSignal(COMSIG_TRY_STORAGE_SHOW, H)
where_text = "<span class='boldnotice'>There is a precious family [heirloom.name] [where], passed down from generation to generation. Keep it safe!</span>"
/datum/trait/family_heirloom/post_add()