mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 19:55:50 +00:00
fix a variable name
This commit is contained in:
parent
fd66a5becd
commit
90c4c8ebfb
1 changed files with 3 additions and 3 deletions
|
@ -1926,7 +1926,7 @@ void CEXISlippi::prepareOnlineMatchState()
|
|||
|
||||
if (mmState == SlippiMatchmaking::ProcessState::CONNECTION_SUCCESS)
|
||||
{
|
||||
localPlayerIndex = matchmaking->LocalPlayerIndex();
|
||||
m_local_player_index = matchmaking->LocalPlayerIndex();
|
||||
|
||||
if (!slippi_netplay)
|
||||
{
|
||||
|
@ -1973,13 +1973,13 @@ void CEXISlippi::prepareOnlineMatchState()
|
|||
if (remotePlayerCount == 1)
|
||||
{
|
||||
auto isDecider = slippi_netplay->IsDecider();
|
||||
localPlayerIndex = isDecider ? 0 : 1;
|
||||
m_local_player_index = isDecider ? 0 : 1;
|
||||
m_remote_player_index = isDecider ? 1 : 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
auto isDecider = slippi_netplay->IsDecider();
|
||||
localPlayerIndex = isDecider ? 0 : 1;
|
||||
m_local_player_index = isDecider ? 0 : 1;
|
||||
m_remote_player_index = isDecider ? 1 : 0;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue