diff --git a/Assets/Scripts/GameManager.cs b/Assets/Scripts/GameManager.cs index fa48f50..3e769c7 100644 --- a/Assets/Scripts/GameManager.cs +++ b/Assets/Scripts/GameManager.cs @@ -20,7 +20,6 @@ public class GameManager : MonoBehaviour [Header("Other component")] public float explanationTime = 4f; - private float currentExplanationTime = 0; [Header("Home Connection Component")] public TMP_InputField roomCodeField; @@ -65,7 +64,6 @@ private void Awake() private void Start() { - currentExplanationTime = explanationTime; HomeConnection.SetActive(true); WaitingRoom.SetActive(false); BeforeStart.SetActive(false); @@ -73,6 +71,7 @@ private void Start() VotePicture.SetActive(false); WaitingOtherPlayers.SetActive(false); EndGame.SetActive(false); + submitStartGame.SetActive(false); if (PlayerPrefs.HasKey("lastplayername")) playerNameField.text = PlayerPrefs.GetString("lastplayername");