From 94fdf13f4a113bb1ffc75a4862308f12c904b2c4 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Thu, 30 Dec 2021 21:26:29 +0100 Subject: NOISSUE proper fix for missing profile + demo mode --- launcher/minecraft/auth/AuthSession.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'launcher/minecraft/auth/AuthSession.cpp') diff --git a/launcher/minecraft/auth/AuthSession.cpp b/launcher/minecraft/auth/AuthSession.cpp index d44f9098..6bea74a3 100644 --- a/launcher/minecraft/auth/AuthSession.cpp +++ b/launcher/minecraft/auth/AuthSession.cpp @@ -30,3 +30,8 @@ bool AuthSession::MakeOffline(QString offline_playername) status = PlayableOffline; return true; } + +void AuthSession::MakeDemo() { + player_name = "Player"; + demo = true; +} -- cgit