Fix unintentionally fall through

This commit is contained in:
David Capello 2023-01-05 16:22:20 -03:00
parent 3e55baec1a
commit eaa0f5e46a

View File

@ -334,6 +334,7 @@ void push_value_to_lua(lua_State* L, const doc::UserData::Variant& value)
break;
case USER_DATA_PROPERTY_TYPE_FIXED:
push_value_to_lua(L, *std::get_if<doc::UserData::Fixed>(&value));
break;
case USER_DATA_PROPERTY_TYPE_FLOAT:
push_value_to_lua(L, *std::get_if<float>(&value));
break;