From dae9e17ea31c8ea9ab796a49b544dc2b786bf6fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Sj=C3=B6gren?= Date: Tue, 30 Nov 2010 01:15:48 +0100 Subject: [PATCH] Updated init.lua. Fixes #1 --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 353b2ac..cbfb763 100644 --- a/init.lua +++ b/init.lua @@ -1 +1,3 @@ -require 'middleclass.middleclass' +local _path = ({...})[1]:gsub("%.init", "") + +require( _path .. '.middleclass' )