pref check

This commit is contained in:
Seris02
2023-08-15 08:55:39 +08:00
parent 610ca114a7
commit fca7912afa
+2 -2
View File
@@ -363,9 +363,9 @@
if(user.pulling == src) user.stop_pulling()
if(("[slot]" in slot_flags_enumeration) && (slot_flags & slot_flags_enumeration["[slot]"]))
if(equip_sound)
playsound(src, equip_sound, 20)
playsound(src, equip_sound, 20, preference = /datum/client_preference/pickup_sounds)
else
playsound(src, drop_sound, 20)
playsound(src, drop_sound, 20, preference = /datum/client_preference/pickup_sounds)
else if(slot == slot_l_hand || slot == slot_r_hand)
playsound(src, pickup_sound, 20, preference = /datum/client_preference/pickup_sounds)
return