Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/items/StarUnlockItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/items/StarUnlockItem.cpp')
-rw-r--r--source/game/items/StarUnlockItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/items/StarUnlockItem.cpp b/source/game/items/StarUnlockItem.cpp
index face195..471c39c 100644
--- a/source/game/items/StarUnlockItem.cpp
+++ b/source/game/items/StarUnlockItem.cpp
@@ -56,7 +56,7 @@ void UnlockItem::fireTriggered() {
for (Json v : playerConfig.get("defaultBlueprints", JsonObject()).getArray(*m_tierRecipesUnlock, JsonArray()))
blueprints.append(ItemDescriptor(v));
- auto speciesConfig = Root::singleton().assets()->json(strf("/species/%s.species", player->species()));
+ auto speciesConfig = Root::singleton().assets()->json(strf("/species/{}.species", player->species()));
for (Json v : speciesConfig.get("defaultBlueprints", JsonObject()).getArray(*m_tierRecipesUnlock, JsonArray()))
blueprints.append(ItemDescriptor(v));