diff --git a/Assets/GameManager/GameManager.cs b/Assets/GameManager/GameManager.cs index a6492da..66a0b3c 100644 --- a/Assets/GameManager/GameManager.cs +++ b/Assets/GameManager/GameManager.cs @@ -41,7 +41,7 @@ public class GameManager : MonoBehaviour uiSubsystem = new GameManager_UI(gameClient, JoinCreateLobby, InLobby); networkSubsystem = new GameManager_Network(gameClient); networkSubsystem.OpenConection(); - InvokeRepeating(uiSubsystem.UpdateLobbyUI(), 1f, 1f); + InvokeRepeating(nameof(uiSubsystem.UpdateLobbyUI), 1f, 1f); } private void Update() {