TNT damages now uses apply_damage

This commit is contained in:
Loic Blot 2015-03-18 14:55:55 +01:00
parent a192f9fc78
commit 594b0f32a1

View file

@ -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