diff --git a/Assets/Scripts/ChatroomMenu.cs b/Assets/Scripts/ChatroomMenu.cs index 0328c05..736c19f 100644 --- a/Assets/Scripts/ChatroomMenu.cs +++ b/Assets/Scripts/ChatroomMenu.cs @@ -407,7 +407,7 @@ public class ChatroomMenu : MonoBehaviour } obj.SetSiblingIndex(i); } - if (content.transform.childCount > 50) + if (content.transform.childCount > 50) { var firstChild = content.transform.GetChild(1); Destroy(firstChild.gameObject);