diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-28 00:50:47 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-28 00:50:47 +1000 |
commit | efa38723961fb8003577c6589fc2b7032195235c (patch) | |
tree | ad7f8318872b91f23a47fe3e34124a5a0525ab7c /source/frontend/StarTitleScreen.cpp | |
parent | 152af876550ec63bac9d7aa27b1994268c80f878 (diff) |
Don't do spatial logging on the server
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); |