From 875c531c1ef354409767feb89adbf3d93980812f Mon Sep 17 00:00:00 2001 From: Petr Ohlidal Date: Tue, 31 Oct 2023 15:07:54 +0100 Subject: [PATCH] Fixed crash when .tuneup uses nonexistent .addonpart --- source/main/physics/ActorSpawner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main/physics/ActorSpawner.cpp b/source/main/physics/ActorSpawner.cpp index 9264e610fa..2de9e2f681 100644 --- a/source/main/physics/ActorSpawner.cpp +++ b/source/main/physics/ActorSpawner.cpp @@ -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)); } } }