void RpcMatchStart() { Debug.Log("Match has started"); matchStarted = true; Destroy(buttonGO); players = GameObject.FindGameObjectsWithTag("Player"); CardDealer.dealCards(players, 2); CardDealer.distributeCards(players, playerHands, cardPrefab); }