source: fix including ->pResource under non-new_id resources

This commit is contained in:
Vaxry 2024-04-24 21:08:28 +01:00
parent 1c9ed159e1
commit e60b1bb9a1
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ static const void* {}[] = {{
std::string argsN = ", ";
for (auto& arg : ev.args) {
if (arg.interface.empty())
if (arg.interface.empty() || arg.wlType != "new_id")
argsN += arg.name + ", ";
else
argsN += arg.name + "->pResource, ";