summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-06-23 09:13:12 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-06-23 09:13:12 +0100
commitaf8963ec0021dae5d6bd25dc4db2fdcce43334e4 (patch)
tree332450e61b3946e2a8c46b65c04f9b5a5e4e6d5e /api.lua
parent53563fe43088b18cdcc8577a43627d7bf0c0bdcf (diff)
add explosion position for mob damage
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index f56f36a..a9a2744 100644
--- a/api.lua
+++ b/api.lua
@@ -731,7 +731,7 @@ local entity_physics = function(pos, radius)
objs[n]:punch(objs[n], 1.0, {
full_punch_interval = 1.0,
damage_groups = {fleshy = damage},
- }, nil)
+ }, pos) -- was nil
end
end