diff options
Diffstat (limited to 'source/frontend/StarTitleScreen.cpp')
-rw-r--r-- | source/frontend/StarTitleScreen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/frontend/StarTitleScreen.cpp b/source/frontend/StarTitleScreen.cpp index e2963f0..df0dcc4 100644 --- a/source/frontend/StarTitleScreen.cpp +++ b/source/frontend/StarTitleScreen.cpp @@ -30,6 +30,10 @@ TitleScreen::TitleScreen(PlayerStoragePtr playerStorage, MixerPtr mixer) auto randomWorld = m_celestialDatabase->findRandomWorld(10, 50, [this](CelestialCoordinate const& coordinate) { return is<TerrestrialWorldParameters>(m_celestialDatabase->parameters(coordinate)->visitableParameters()); }).take(); + + if (auto name = m_celestialDatabase->name(randomWorld)) + Logger::info("Title world is {} @ CelestialWorld:{}", Text::stripEscapeCodes(*name), randomWorld); + SkyParameters skyParameters(randomWorld, m_celestialDatabase); m_skyBackdrop = make_shared<Sky>(skyParameters, true); |