diff --git a/components/lua/utilpackage.cpp b/components/lua/utilpackage.cpp index 7dbad225cd..979cb1c1ac 100644 --- a/components/lua/utilpackage.cpp +++ b/components/lua/utilpackage.cpp @@ -55,8 +55,6 @@ namespace switch (key.length()) { - case 1: - return sol::make_object(lua, components[0]); case 2: return sol::make_object(lua, { components[0], components[1] }); case 3: