diff --git a/data/core/start.lua b/data/core/start.lua index 9c2e64e4..330c42f5 100644 --- a/data/core/start.lua +++ b/data/core/start.lua @@ -23,7 +23,7 @@ package.path = USERDIR .. '/?/init.lua;' .. package.path local dynamic_suffix = PLATFORM == "Mac OS X" and 'lib' or (PLATFORM == "Windows" and 'dll' or 'so') package.cpath = DATADIR .. '/?.' .. dynamic_suffix .. ";" .. USERDIR .. '/?.' .. dynamic_suffix package.native_plugins = {} -package.searchers = { package.seachers[1], package.searchers[2], function(modname) +package.searchers = { package.searchers[1], package.searchers[2], function(modname) local path = package.searchpath(modname, package.cpath) if not path then return nil end return system.load_native_plugin, path