Skip to content

Commit

Permalink
Set all non-player 1 inputs be considered non human inputs
Browse files Browse the repository at this point in the history
basically fixes a single bug where player 2 can only press mines in gameplay and nothing else (SEXTUPLE SETUP AAAAAA)
  • Loading branch information
poco0317 committed Nov 7, 2019
1 parent 2b5d377 commit 39f30c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Etterna/Singletons/GameState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,8 @@ GameState::GetNumPlayersEnabled() const
bool
GameState::IsHumanPlayer(PlayerNumber pn) const
{
if (pn == PLAYER_INVALID)
// only player 1 can play this game.
if (pn != PLAYER_1)
return false;

if (GetCurrentGame()->m_PlayersHaveSeparateStyles) {
Expand Down

0 comments on commit 39f30c0

Please sign in to comment.