add explode_center flag to mobs:boom function

master
TenPlus1 2017-08-12 18:20:01 +01:00
parent 4d80e58a2c
commit 38d7a214b1
1 changed files with 3 additions and 2 deletions

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, {