diff options
author | Joachim Stolberg <joe.stolberg@gmx.de> | 2017-06-22 19:16:37 +0200 |
---|---|---|
committer | Joachim Stolberg <joe.stolberg@gmx.de> | 2017-06-22 19:16:37 +0200 |
commit | 095e93631c6befbf79f8f4aaecc2b8d31335aa31 (patch) | |
tree | 029c858703f47a2629c6978a169fb3d3bb3fc947 | |
parent | 28e046e86b4d75d7b56e9b08f396f076694f9a29 (diff) |
sound bugfix
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ function hook:on_step(dtime) -- sound control if vx ~= 0 or vz ~= 0 or self.speed_up ~= 0 then if self.sound == nil then - self.sound = minetest.sound_play({name="crane"},{object=self.object, + self.sound = minetest.sound_play({name="crane"},{object=self.object, pos=pos, gain=towercrane.gain, max_hear_distance=20, loop=true}) end |