From 4b86bf43b5a39855248d4081eb54e6fbe727b514 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 28 Jan 2024 02:53:11 +0100 Subject: [PATCH] fix: Forgot to initialize gamemanager --- Assets/Scripts/QuestionHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/QuestionHandler.cs b/Assets/Scripts/QuestionHandler.cs index c313cc2..bd9edc5 100644 --- a/Assets/Scripts/QuestionHandler.cs +++ b/Assets/Scripts/QuestionHandler.cs @@ -63,7 +63,7 @@ public void OnSubmitButton() // Start is called before the first frame update void Start() { - + gameManager = managers.GetComponent(); } // Update is called once per frame