Skip to content

Commit

Permalink
remove unecassary switch case
Browse files Browse the repository at this point in the history
  • Loading branch information
glassmancody committed Aug 4, 2024
1 parent 19c0ceb commit 4d58d4e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/lua/utilpackage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4d58d4e

Please sign in to comment.