diff options
Diffstat (limited to 'launcher/minecraft/auth/AuthSession.cpp')
-rw-r--r-- | launcher/minecraft/auth/AuthSession.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; +} |