diff --git a/code/datums/status_effects/debuffs/debuffs.dm b/code/datums/status_effects/debuffs/debuffs.dm index c1814772f1d..c93ceb4c18f 100644 --- a/code/datums/status_effects/debuffs/debuffs.dm +++ b/code/datums/status_effects/debuffs/debuffs.dm @@ -195,11 +195,12 @@ healing += 0.1 // don't forget the bedsheet - for(var/obj/item/bedsheet/bedsheet in range(owner.loc,0)) - if(bedsheet.loc != owner.loc) //bedsheets in your backpack/neck don't give you comfort - continue + if(locate(/obj/item/bedsheet) in owner.loc) + healing += 0.1 + + // you forgot the pillow + if(locate(/obj/item/pillow) in owner.loc) healing += 0.1 - break //Only count the first bedsheet if(healing > 0 && health_ratio > 0.8) owner.adjustBruteLoss(-1 * healing, required_bodytype = BODYTYPE_ORGANIC)