Skip to content
Snippets Groups Projects
Commit e1a58401 authored by Vanessa Ezekowitz's avatar Vanessa Ezekowitz
Browse files

call minetest.get_modpath only once

parent 95cffaee
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,9 @@ bushes_classic.bushes_descriptions = {
bushes_classic.spawn_list = {}
dofile(minetest.get_modpath('bushes_classic') .. '/cooking.lua')
dofile(minetest.get_modpath('bushes_classic') .. '/nodes.lua')
local modpath = minetest.get_modpath('bushes_classic')
dofile(modpath..'/cooking.lua')
dofile(modpath..'/nodes.lua')
biome_lib:spawn_on_surfaces({
spawn_delay = 3600,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment