From 4d58d4ef85ac10592cf0c9791ae05e720bcbea4c Mon Sep 17 00:00:00 2001 From: Cody Glassman Date: Wed, 31 Jul 2024 14:16:28 -0700 Subject: [PATCH] remove unecassary switch case --- components/lua/utilpackage.cpp | 2 -- 1 file changed, 2 deletions(-) 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: