Allow ScreenSelectProfile to Finish() with guest players

Passing a -3 as profile index to ScreenSelectProfile's SetProfileIndex now
allows a player to play without having a local or USB profile assigned.

Also adds a message (PlayerProfileSet) that's broadcast anytime a player selects
a profile or chooses to play as a guest and subscribes ScreenSelectMusic to it.
This commit is contained in:
Ivana Kellyerova
2022-06-11 22:53:07 +02:00
committed by Martin Natano
parent 64b4676a14
commit 02b9925b12
6 changed files with 19 additions and 4 deletions
+1
View File
@@ -53,6 +53,7 @@ enum MessageID
Message_MenuSelectionChanged,
Message_PlayerJoined,
Message_PlayerUnjoined,
Message_PlayerProfileSet,
Message_AutosyncChanged,
Message_PreferredSongGroupChanged,
Message_PreferredCourseGroupChanged,