mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Creates a Preference toggle for Drop Sounds (#6397)
This commit is contained in:
@@ -245,7 +245,7 @@
|
||||
/obj/item/throw_impact(atom/hit_atom)
|
||||
..()
|
||||
if(drop_sound)
|
||||
playsound(src, drop_sound, 50, 0)
|
||||
playsound(src, drop_sound, 50, 0, required_asfx_toggles = ASFX_DROPSOUND)
|
||||
|
||||
//Apparently called whenever an item is dropped on the floor, thrown, or placed into a container.
|
||||
//It is called after loc is set, so if placed in a container its loc will be that container.
|
||||
|
||||
Reference in New Issue
Block a user