From 39f30c01b11f8c547109b8410b10768b2f563d13 Mon Sep 17 00:00:00 2001 From: Barinade Date: Wed, 6 Nov 2019 23:25:53 -0600 Subject: [PATCH] Set all non-player 1 inputs be considered non human inputs basically fixes a single bug where player 2 can only press mines in gameplay and nothing else (SEXTUPLE SETUP AAAAAA) --- src/Etterna/Singletons/GameState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Etterna/Singletons/GameState.cpp b/src/Etterna/Singletons/GameState.cpp index b976033ba2..0d72811555 100644 --- a/src/Etterna/Singletons/GameState.cpp +++ b/src/Etterna/Singletons/GameState.cpp @@ -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) {