mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 09:32:21 +00:00
Refactors use_sound and changes the way tools play sounds (#35521)
* Adds list support to usesound, ports drills to usesound * Adds more tool sounds, changes usesound usage to play_tool_sound * fix
This commit is contained in:
committed by
vuonojenmustaturska
parent
6389825e39
commit
c6e607dc17
@@ -33,7 +33,7 @@
|
||||
do_animate()
|
||||
else if(istype(W, /obj/item/wrench))
|
||||
anchored = !anchored
|
||||
playsound(src.loc, W.usesound, 75, 1)
|
||||
W.play_tool_sound(src, 75)
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user