rename and fix sound jetpack

This commit is contained in:
Kindaglia 2025-04-25 00:14:45 +02:00
parent 68abb4d08e
commit f5f27ef999
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -28,7 +28,7 @@ function industrialtest.JetpackBase.update(self, player, inv, itemstack, dtime)
self.addYVelocityClamped(player,1,10) self.addYVelocityClamped(player,1,10)
if not sound_handles[playerName] then if not sound_handles[playerName] then
local pos = player:get_pos() local pos = player:get_pos()
local handle = minetest.sound_play("JetpackLoop", { local handle = minetest.sound_play("industrialtest_jetpack_loop", {
pos = pos, pos = pos,
gain = 1.0, -- Volume of the sound gain = 1.0, -- Volume of the sound
max_hear_distance = 16, -- Maximum distance to hear the sound max_hear_distance = 16, -- Maximum distance to hear the sound