MT#7408: Fixed issue that caused most LUA callbacks to be duplicated (#5592)

This commit is contained in:
npwoods 2019-09-06 09:10:40 -04:00 committed by Robert
parent 5964e58cdf
commit a17315b742

View File

@ -638,13 +638,6 @@ int lua_engine::enumerate_functions(const char *id, std::function<bool(const sol
count++;
if (!cont)
break;
auto ret = invoke(func.second.as<sol::protected_function>());
if (!ret.valid())
{
sol::error err = ret;
osd_printf_error("[LUA ERROR] in execute_function: %s\n", err.what());
}
}
}
return true;