mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-28 09:36:27 -04:00
Merge 594b0f32a1
into 9eb9502209
This commit is contained in:
commit
2165bc86ef
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ local function entity_physics(pos, radius)
|
|||
end
|
||||
|
||||
local damage = (4 / dist) * radius
|
||||
obj:set_hp(obj:get_hp() - damage)
|
||||
obj:apply_damage(damage)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue