Skip to content

Commit

Permalink
Fix Player 2 Start Button Crash
Browse files Browse the repository at this point in the history
Pressing p2 start in music select crashes the game for "no reason." Here's the reason. It's fixed (disabled).
  • Loading branch information
poco0317 authored Aug 19, 2018
1 parent 86378db commit 9da774a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ScreenSelectMusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,14 +585,15 @@ bool ScreenSelectMusic::Input(const InputEventPlus &input)
if (!input.GameI.IsValid())
return false; // don't care

// Handle late joining
// If the other player is allowed to join on the extra stage, then the
// summary screen will crash on invalid stage stats. -Kyz
/**** This handles letting player 2 into the game after that old screen that we haven't seen in 25 years
* you know, the one that lets you pick how many people you are playing with.
* Anyways, let's disable this block because all it does is crash the game now.
if (m_SelectionState != SelectionState_Finalized &&
input.MenuI == GAME_BUTTON_START && input.type == IET_FIRST_PRESS && GAMESTATE->JoinInput(input.pn))
{
return true; // don't handle this press again below
}
*/

if (!GAMESTATE->IsHumanPlayer(input.pn))
return false;
Expand Down

0 comments on commit 9da774a

Please sign in to comment.