remove unecassary switch case

pull/3236/head
Cody Glassman 5 months ago
parent 19c0cebb27
commit 4d58d4ef85

@ -55,8 +55,6 @@ namespace
switch (key.length())
{
case 1:
return sol::make_object<float>(lua, components[0]);
case 2:
return sol::make_object<LuaUtil::Vec2>(lua, { components[0], components[1] });
case 3:

Loading…
Cancel
Save