Skip to content

Commit b6c3a22

Browse files
Remove null check for m_PlayerRoot in InitializePlayerRoot.
1 parent d9b8804 commit b6c3a22

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/UI/MultiplayerEventSystem.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ protected override void OnDisable()
4949

5050
private void InitializePlayerRoot()
5151
{
52-
if (m_PlayerRoot == null) return;
53-
5452
var inputModule = GetComponent<InputSystemUIInputModule>();
5553
if (inputModule != null)
5654
inputModule.localMultiPlayerRoot = m_PlayerRoot;

0 commit comments

Comments
 (0)