diff --git a/Assets/Scripts/Server/ServerGameTalkingPanel.cs b/Assets/Scripts/Server/ServerGameTalkingPanel.cs index aea8077..46a0220 100644 --- a/Assets/Scripts/Server/ServerGameTalkingPanel.cs +++ b/Assets/Scripts/Server/ServerGameTalkingPanel.cs @@ -43,7 +43,7 @@ public class ServerGameTalkingPanel : MonoBehaviour private void Awake() { Instance = this; - customReportScript = gameObject.GetComponentInChildren(); + customReportScript = gameObject.GetComponentInChildren(includeInactive: true); } // Start is called once before the first execution of Update after the MonoBehaviour is created diff --git a/Assets/Scripts/Server/ServerGameTypingPanel.cs b/Assets/Scripts/Server/ServerGameTypingPanel.cs index 08b6612..1952a99 100644 --- a/Assets/Scripts/Server/ServerGameTypingPanel.cs +++ b/Assets/Scripts/Server/ServerGameTypingPanel.cs @@ -31,7 +31,7 @@ public class ServerGameTypingPanel : MonoBehaviour private void Awake() { Instance = this; - customReportScript = gameObject.GetComponentInChildren(); + customReportScript = gameObject.GetComponentInChildren(includeInactive: true); } public void processStep(int step)