Close minor issues with fishing rod timing and permanent_flame alias, https://git.minetest.land/Wuzzy/MineClone2/issues/834 & https://git.minetest.land/Wuzzy/MineClone2/issues/836
parent
7678bf9b9f
commit
15cb94b9b3
|
@ -493,7 +493,7 @@ minetest.register_lbm({
|
||||||
|
|
||||||
minetest.register_alias("mcl_fire:basic_flame", "mcl_fire:fire")
|
minetest.register_alias("mcl_fire:basic_flame", "mcl_fire:fire")
|
||||||
minetest.register_alias("fire:basic_flame", "mcl_fire:fire")
|
minetest.register_alias("fire:basic_flame", "mcl_fire:fire")
|
||||||
minetest.register_alias("fire:permanent_flame", "mcl_fire:eternal_flame")
|
minetest.register_alias("fire:permanent_flame", "mcl_fire:eternal_fire")
|
||||||
|
|
||||||
dofile(minetest.get_modpath(minetest.get_current_modname()).."/flint_and_steel.lua")
|
dofile(minetest.get_modpath(minetest.get_current_modname()).."/flint_and_steel.lua")
|
||||||
dofile(minetest.get_modpath(minetest.get_current_modname()).."/fire_charge.lua")
|
dofile(minetest.get_modpath(minetest.get_current_modname()).."/fire_charge.lua")
|
||||||
|
|
|
@ -238,7 +238,7 @@ local bobber_on_step = function(self, dtime)
|
||||||
end
|
end
|
||||||
else if self._waittick == nil then
|
else if self._waittick == nil then
|
||||||
-- wait for random number of ticks.
|
-- wait for random number of ticks.
|
||||||
self._waittick = math.random(50,800)
|
self._waittick = math.random(50,333)
|
||||||
else
|
else
|
||||||
if self._tick ~= self._waittick then
|
if self._tick ~= self._waittick then
|
||||||
self._tick = self._tick + 1
|
self._tick = self._tick + 1
|
||||||
|
|
Loading…
Reference in New Issue