do not load twice the piloting code, dont override the dragon object
* this are in sync with tenplus1 but with fix due piloting must be before normal dragon * so dont override the already set dragon object used in normal dragonmain-namespace_mobs
parent
a61d81c2f1
commit
804bde5ad8
|
@ -1,6 +1,5 @@
|
|||
-- 'Generic' dragon
|
||||
|
||||
dofile(minetest.get_modpath("mobs_doomed").."/dragons/piloting.lua")
|
||||
|
||||
mobs:register_mob("mobs_doomed:dragon", {
|
||||
type = "monster",
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
--thanks to diriel, blert2112 and taikedz
|
||||
|
||||
mobs_doomed.dragon = {}
|
||||
|
||||
dofile(minetest.get_modpath("mobs_doomed").."/dragons/piloting.lua")
|
||||
if not mobs_doomed.dragon then
|
||||
mobs_doomed.dragon = {}
|
||||
end
|
||||
|
||||
local tamed_dragons = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue