Skip to content

Commit cfe4954

Browse files
committed
Use the splitScreenIndex which was passed in
1 parent adc5a1e commit cfe4954

File tree

1 file changed

+1
-1
lines changed
  • Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput

1 file changed

+1
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/PlayerInput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ private void OnEnable()
18311831

18321832
// Split-screen index defaults to player index.
18331833
if (s_InitSplitScreenIndex >= 0)
1834-
m_SplitScreenIndex = splitScreenIndex;
1834+
m_SplitScreenIndex = s_InitSplitScreenIndex;
18351835
else
18361836
m_SplitScreenIndex = playerIndex;
18371837

0 commit comments

Comments
 (0)