forked from mrkubax10/industrialtest
rename and fix sound jetpack
This commit is contained in:
parent
68abb4d08e
commit
f5f27ef999
Binary file not shown.
BIN
sounds/industrialtest_jetpack_loop.ogg
Normal file
BIN
sounds/industrialtest_jetpack_loop.ogg
Normal file
Binary file not shown.
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user