From 2de7a3939a4de12b59de0dc44e1e3314ef2ef7ba Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sat, 9 Dec 2023 18:09:57 +0200 Subject: [PATCH] Fix text identifier for generic signs without custom text --- lib/mapObjects/MiscObjects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mapObjects/MiscObjects.cpp b/lib/mapObjects/MiscObjects.cpp index 11c532f13..872e57ba4 100644 --- a/lib/mapObjects/MiscObjects.cpp +++ b/lib/mapObjects/MiscObjects.cpp @@ -937,7 +937,7 @@ void CGSignBottle::initObj(CRandomGenerator & rand) { auto vector = VLC->generaltexth->findStringsWithPrefix("core.randsign"); std::string messageIdentifier = *RandomGeneratorUtil::nextItem(vector, rand); - message.appendTextID(TextIdentifier("core", "randsign", messageIdentifier).get()); + message.appendTextID(messageIdentifier); } if(ID == Obj::OCEAN_BOTTLE)