Fixed RIG constructor sound when using some tools (#19291)

Fixed RIG constructor sound when using some tools

Fixes #19171
This commit is contained in:
Fluffy
2024-05-31 20:15:52 +00:00
committed by GitHub
parent e4ae8e75fd
commit a5f56ff9a2
2 changed files with 61 additions and 3 deletions
@@ -201,13 +201,13 @@
else
return 0
else if(I.iswrench())
I.play_tool_sound(get_turf(src), 50)
I.play_tool_sound(get_turf(I), 50)
else if(I.isscrewdriver())
I.play_tool_sound(get_turf(src), 50)
I.play_tool_sound(get_turf(I), 50)
else if(I.iswirecutter())
I.play_tool_sound(get_turf(src), 50)
I.play_tool_sound(get_turf(I), 50)
else if(I.iscoil())
var/obj/item/stack/cable_coil/C = used_atom