forked from mtcontrib/mobs_redo
add explosion position for mob damage
This commit is contained in:
parent
53563fe430
commit
af8963ec00
2
api.lua
2
api.lua
@ -731,7 +731,7 @@ local entity_physics = function(pos, radius)
|
|||||||
objs[n]:punch(objs[n], 1.0, {
|
objs[n]:punch(objs[n], 1.0, {
|
||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
damage_groups = {fleshy = damage},
|
damage_groups = {fleshy = damage},
|
||||||
}, nil)
|
}, pos) -- was nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user