We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e10b94 commit 9ae9a1fCopy full SHA for 9ae9a1f
src/extractor/scripting_environment_lua.cpp
@@ -943,7 +943,7 @@ Sol2ScriptingEnvironment::GetStringListFromTable(const std::string &table_name)
943
auto &context = GetSol2Context();
944
BOOST_ASSERT(context.state.lua_state() != nullptr);
945
std::vector<std::string> strings;
946
- if (context.profile_table[table_name])
+ if (!context.profile_table[table_name])
947
{
948
return strings;
949
}
@@ -965,7 +965,7 @@ Sol2ScriptingEnvironment::GetStringListsFromTable(const std::string &table_name)
965
966
967
968
- if (context.profile_table[table_name] == nullptr)
969
970
return string_lists;
971
0 commit comments