mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 14:42:27 +01:00
Default: Eliminate redundant 'get modpath' calls
This commit is contained in:
parent
995256744a
commit
5e9e3f7e84
@ -35,14 +35,16 @@ default.gui_survival_form = "size[8,8.5]"..
|
|||||||
default.get_hotbar_bg(0,4.25)
|
default.get_hotbar_bg(0,4.25)
|
||||||
|
|
||||||
-- Load files
|
-- Load files
|
||||||
dofile(minetest.get_modpath("default").."/functions.lua")
|
local default_path = minetest.get_modpath("default")
|
||||||
dofile(minetest.get_modpath("default").."/trees.lua")
|
|
||||||
dofile(minetest.get_modpath("default").."/nodes.lua")
|
dofile(default_path.."/functions.lua")
|
||||||
dofile(minetest.get_modpath("default").."/furnace.lua")
|
dofile(default_path.."/trees.lua")
|
||||||
dofile(minetest.get_modpath("default").."/tools.lua")
|
dofile(default_path.."/nodes.lua")
|
||||||
dofile(minetest.get_modpath("default").."/craftitems.lua")
|
dofile(default_path.."/furnace.lua")
|
||||||
dofile(minetest.get_modpath("default").."/crafting.lua")
|
dofile(default_path.."/tools.lua")
|
||||||
dofile(minetest.get_modpath("default").."/mapgen.lua")
|
dofile(default_path.."/craftitems.lua")
|
||||||
dofile(minetest.get_modpath("default").."/player.lua")
|
dofile(default_path.."/crafting.lua")
|
||||||
dofile(minetest.get_modpath("default").."/aliases.lua")
|
dofile(default_path.."/mapgen.lua")
|
||||||
dofile(minetest.get_modpath("default").."/legacy.lua")
|
dofile(default_path.."/player.lua")
|
||||||
|
dofile(default_path.."/aliases.lua")
|
||||||
|
dofile(default_path.."/legacy.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user