Skip to content

Commit 744ae0e

Browse files
committed
dont reset style exiting gameplaysyncmachine
the reason this was done is never mentioned anywhere and was added over a decade ago and has recently started causing crashes that didnt occur before so im removing it and it doesnt seem to break anything
1 parent 209438d commit 744ae0e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Etterna/Screen/Gameplay/ScreenGameplaySyncMachine.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ ScreenGameplaySyncMachine::HandleScreenMessage(const ScreenMessage& SM)
113113

114114
if (SM == SM_GoToPrevScreen || SM == SM_GoToNextScreen) {
115115
GAMESTATE->m_pCurSteps.Set(nullptr);
116-
GAMESTATE->SetCurrentStyle(nullptr, PLAYER_INVALID);
117116
GAMESTATE->m_pCurSong.Set(nullptr);
118117
}
119118
}

0 commit comments

Comments
 (0)