Fixes the doubled up toolsound on modsuits (#26220)

This commit is contained in:
1080pCat
2024-07-16 07:59:57 +10:00
committed by GitHub
parent 7b3e220cdb
commit 8c7ba2195e
-2
View File
@@ -296,7 +296,6 @@
return TRUE
if(!core)
return TRUE
wrench.play_tool_sound(src, 100)
core.forceMove(drop_location())
update_charge_alert()
return TRUE
@@ -314,7 +313,6 @@
if(screwdriver.use_tool(src, user, 1 SECONDS))
if(active || activating)
to_chat(user, "<span class='warning'>Deactivate the suit first!</span>")
screwdriver.play_tool_sound(src, 100)
to_chat(user, "<span class='notice'>Cover [open ? "closed" : "opened"]</span>")
open = !open
return TRUE