diff options
Diffstat (limited to 'checkbox.lua')
-rw-r--r-- | checkbox.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkbox.lua b/checkbox.lua index c5f5fce..306fc8f 100644 --- a/checkbox.lua +++ b/checkbox.lua @@ -1,4 +1,4 @@ -local core = require((...):match("^(.+)%.[^%.]+") .. '.core') +local core = require((...):match("(.-)[^%.]+$") .. 'core') return function(info, x,y, w,h, draw) local id = core.generateID() |