Fixes some doubling up of sounds on tools

This commit is contained in:
Citinited
2020-02-16 00:49:06 +00:00
parent fddff1049b
commit d342870bd8
4 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ a {
return FALSE
if(I.tool_behaviour != TOOL_WRENCH)
return FALSE
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
if(!I.tool_use_check(user, 0))
return FALSE
if(!(flags & NODECONSTRUCT))
to_chat(user, "<span class='notice'>Now [anchored ? "un" : ""]securing [name].</span>")