Add fix and note for Routine chart loading in edit mode.

This commit is contained in:
Brandon W
2025-01-25 11:17:52 -08:00
committed by teejusb
parent 71c4fa6bc0
commit 6947276894
+7 -1
View File
@@ -10,7 +10,13 @@
void EditModePlayerManager::AddPlayers(const NoteData& note_data) {
FOREACH_EnabledPlayer(pn){
FOREACH_EnabledPlayer(pn) {
// In case of a routine chart, both players are actually seen as
// enabled. This isn't desired, since the playerState and inputs in
// routine charts eventually collapse down only to P1.
if ((GAMESTATE->GetCurrentStyle(GAMESTATE->GetMasterPlayerNumber())->m_StyleType == StyleType_TwoPlayersSharedSides) && pn != PLAYER_1) {
continue;
}
players_[pn] = std::make_shared<PlayerPlus>();
PlayerPlus& player = *players_[pn];