mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
pref check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user