Compare commits
2 Commits
1c7d727286
...
d77783a717
Author | SHA1 | Date |
---|---|---|
teknomunk | d77783a717 | |
teknomunk | 92f781b68c |
|
@ -317,11 +317,11 @@ local function stuck_on_step(self, dtime, entity_def, projectile_def)
|
||||||
gain = 1.0,
|
gain = 1.0,
|
||||||
}, true)
|
}, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
mcl_burning.extinguish(self.object)
|
|
||||||
mcl_util.remove_entity(self)
|
|
||||||
return
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
mcl_burning.extinguish(self.object)
|
||||||
|
mcl_util.remove_entity(self)
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -333,7 +333,8 @@ function mod.sticks(self, dtime, entity_def, projectile_def)
|
||||||
|
|
||||||
-- Stuck handling
|
-- Stuck handling
|
||||||
if self._stuck then
|
if self._stuck then
|
||||||
return stuck_on_step(self, dtime, entity_def, projectile_def)
|
stuck_on_step(self, dtime, entity_def, projectile_def)
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue