Merge pull request #6716 from Citadel-Station-13/upstream-merge-37754

[MIRROR] family heirlooms properly open the backpack upon spawning if they're in the backpack
This commit is contained in:
LetterJay
2018-05-12 21:37:53 -05:00
committed by GitHub
+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()