diff --git a/init.lua b/init.lua
index ccde4b7..e630538 100644
--- a/init.lua
+++ b/init.lua
@@ -14,8 +14,7 @@
 -- You should have received a copy of the GNU General Public License
 -- along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-MODNAME="industrialtest"
-local modpath=minetest.get_modpath(MODNAME)
+local modpath=minetest.get_modpath("industrialtest")
 
 -- table with global functions, variables etc
 industrialtest={}