1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-25 02:00:21 +01:00

add explode_center flag to mobs:boom function

This commit is contained in:
TenPlus1 2017-08-12 18:20:01 +01:00
parent 4d80e58a2c
commit 38d7a214b1

View File

@ -1,9 +1,9 @@
-- Mobs Api (11th August 2017)
-- Mobs Api (12th August 2017)
mobs = {}
mobs.mod = "redo"
mobs.version = "20170811"
mobs.version = "20170812"
-- Intllib
@ -3039,6 +3039,7 @@ function mobs:boom(self, pos, radius)
radius = radius,
damage_radius = radius,
sound = self.sounds.explode,
explode_center = true,
})
else
minetest.sound_play(self.sounds.explode, {