From ccfe2a2cae9a1615e34c17dad755c5df015d7ad3 Mon Sep 17 00:00:00 2001 From: patman <27874300+patmanf@users.noreply.github.com> Date: Thu, 16 Jan 2025 17:39:17 -0600 Subject: [PATCH] dungeon generation log messages include dungeon name --- source/game/StarDungeonGenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/game/StarDungeonGenerator.cpp b/source/game/StarDungeonGenerator.cpp index 8b2c9c2..179307e 100644 --- a/source/game/StarDungeonGenerator.cpp +++ b/source/game/StarDungeonGenerator.cpp @@ -1442,10 +1442,10 @@ Maybe, Set>> DungeonGenerator::generate(DungeonGenerator auto pos = position + Vec2I(0, -anchor->placementLevelConstraint()); if (forcePlacement || anchor->canPlace(pos, &writer)) { - Logger::info("Placing dungeon at {}", position); + Logger::info("Placing dungeon {} at {}", m_def->name(), position); return buildDungeon(anchor, pos, &writer, forcePlacement); } else { - Logger::debug("Failed to place a dungeon at {}", position); + Logger::debug("Failed to place dungeon {} at {}", m_def->name(), position); return {}; } } catch (std::exception const& e) {