From 1b2a7de4e2d643f49c36dc424c9244a98ce93f7e Mon Sep 17 00:00:00 2001 From: flow Date: Thu, 15 Sep 2022 18:32:14 -0300 Subject: [PATCH] fix: show 'demo' instead of 'offline' in log when in demo mode Signed-off-by: flow --- launcher/LaunchController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index b4a58d01..830fcf82 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -376,7 +376,7 @@ void LaunchController::launchInstance() } m_launcher->prependStep(new TextPrint(m_launcher.get(), resolved_servers, MessageLevel::Launcher)); } else { - online_mode = "offline"; + online_mode = m_demo ? "demo" : "offline"; } m_launcher->prependStep(new TextPrint(m_launcher.get(), "Launched instance in " + online_mode + " mode\n", MessageLevel::Launcher));