makes the sound actually play at the right place

This commit is contained in:
deathride58
2019-01-11 04:58:11 -05:00
parent 37d90a780a
commit 0f48e77990
+1 -1
View File
@@ -79,7 +79,7 @@
H.forceMove(P)
if(P.canclank == TRUE || (P.canclank == IFFY && P.dpdir != 3 && P.dpdir != 12))
playsound(src, H.hasmob ? "clang" : "clangsmall", H.hasmob ? 50 : 25, 1)
playsound(P, H.hasmob ? "clang" : "clangsmall", H.hasmob ? 50 : 25, 1)
return P
else // if wasn't a pipe, then they're now in our turf
H.forceMove(get_turf(src))