diff --git a/lua.go b/lua.go index b0a584a..9e05af1 100644 --- a/lua.go +++ b/lua.go @@ -52,7 +52,7 @@ func luaInit() { */ // Add more paths that Lua can require from - _, err := l.DoString("print(type(hilbish)); package.path = package.path .. " + requirePaths) + _, err := l.DoString("package.path = package.path .. " + requirePaths) if err != nil { fmt.Fprintln(os.Stderr, err) fmt.Fprintln(os.Stderr, "Could not add Hilbish require paths! Libraries will be missing. This shouldn't happen.")