mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-09 00:29:33 +01:00
Make sure a projectile sets on fire the thing it collided with
This commit is contained in:
parent
c6376f09e6
commit
e3a78a99dc
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ local function handle_entity_collision(self, entity_def, projectile_def, object)
|
||||||
|
|
||||||
-- Light things on fire
|
-- Light things on fire
|
||||||
if mcl_burning.is_burning(self.object) then
|
if mcl_burning.is_burning(self.object) then
|
||||||
mcl_burning.set_on_fire(self.object, 5)
|
mcl_burning.set_on_fire(object, 5)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue