mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-05 01:03:44 +01:00
Make sure a projectile sets on fire the thing it collided with
This commit is contained in:
parent
8f7554c953
commit
425d5e957a
@ -284,7 +284,7 @@ local function handle_entity_collision(self, entity_def, projectile_def, object)
|
||||
|
||||
-- Light things on fire
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user