mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Stethoscope Cracking Sounds Fix (#27823)
* stethosco * Update code/game/objects/structures/safe.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: Bm0n <92271472+Bm0n@users.noreply.github.com> * Update code/game/objects/structures/safe.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: Bm0n <92271472+Bm0n@users.noreply.github.com> --------- Signed-off-by: Bm0n <92271472+Bm0n@users.noreply.github.com> Co-authored-by: Bmon <no@email.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -268,14 +268,11 @@ GLOBAL_LIST_EMPTY(safes)
|
||||
var/canhear = FALSE
|
||||
if(ishuman(usr))
|
||||
var/mob/living/carbon/human/H = usr
|
||||
var/list/accessories = H.w_uniform?.accessories
|
||||
if(H.can_hear()) // This is cursed but is_type_in_list somehow fails
|
||||
if(H.is_in_hands(/obj/item/clothing/neck/stethoscope))
|
||||
canhear = TRUE
|
||||
else
|
||||
for(var/obj/item/clothing/neck/stethoscope/S in accessories)
|
||||
canhear = TRUE
|
||||
break
|
||||
if(istype(H.neck, /obj/item/clothing/neck/stethoscope))
|
||||
canhear = TRUE
|
||||
|
||||
. = TRUE
|
||||
switch(action)
|
||||
|
||||
Reference in New Issue
Block a user