fix: show 'demo' instead of 'offline' in log when in demo mode

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-09-15 18:32:14 -03:00
parent 11216d200c
commit 1b2a7de4e2

View File

@ -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));