Skip to content

Commit

Permalink
Fixed crash when .tuneup uses nonexistent .addonpart
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp committed Oct 31, 2023
1 parent 4315f1b commit 875c531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/physics/ActorSpawner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void ActorSpawner::ConfigureAddonParts(CacheEntryPtr& tuneup_entry)
}
else
{
this->AddMessage(Message::TYPE_WARNING, fmt::format(_L("Requested addon part '{}' is not installed"), addonpart_entry->dname, addonpart_entry->fname));
this->AddMessage(Message::TYPE_WARNING, fmt::format(_L("Requested addon part '{}' is not installed"), addonpart));
}
}
}
Expand Down

0 comments on commit 875c531

Please sign in to comment.