diff --git a/sounds/JetpackLoop.ogg b/sounds/JetpackLoop.ogg deleted file mode 100644 index a32f3f1..0000000 Binary files a/sounds/JetpackLoop.ogg and /dev/null differ diff --git a/sounds/industrialtest_jetpack_loop.ogg b/sounds/industrialtest_jetpack_loop.ogg new file mode 100644 index 0000000..5c633a3 Binary files /dev/null and b/sounds/industrialtest_jetpack_loop.ogg differ diff --git a/tools/jetpack.lua b/tools/jetpack.lua index cdaff83..bdce50a 100644 --- a/tools/jetpack.lua +++ b/tools/jetpack.lua @@ -28,7 +28,7 @@ function industrialtest.JetpackBase.update(self, player, inv, itemstack, dtime) self.addYVelocityClamped(player,1,10) if not sound_handles[playerName] then local pos = player:get_pos() - local handle = minetest.sound_play("JetpackLoop", { + local handle = minetest.sound_play("industrialtest_jetpack_loop", { pos = pos, gain = 1.0, -- Volume of the sound max_hear_distance = 16, -- Maximum distance to hear the sound