1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-27 11:41:34 +00:00

remove unecassary switch case

This commit is contained in:
Cody Glassman 2024-07-31 14:16:28 -07:00
parent 19c0cebb27
commit 4d58d4ef85

View file

@ -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: