mirror of
https://github.com/minetest-mods/lightning.git
synced 2025-01-25 00:30:18 +01:00
Update init.lua
This commit is contained in:
parent
be804055cc
commit
2e52762f23
2
init.lua
2
init.lua
@ -120,7 +120,7 @@ lightning.strike = function(pos)
|
||||
texture = "lightning_lightning_" .. rng:next(1,3) .. ".png",
|
||||
})
|
||||
|
||||
minetest.sound_play({ pos = pos, name = "lightning_thunder", gain = 10, max_hear_distance = 500 })
|
||||
minetest.sound_play({ pos = pos, name = "lightning_thunder", gain = 10, max_hear_distance = 500 })
|
||||
|
||||
-- damage nearby objects, player or not
|
||||
for _, obj in ipairs(minetest.get_objects_inside_radius(pos, 5)) do
|
||||
|
Loading…
Reference in New Issue
Block a user