|
@@ -207,7 +207,7 @@ public class SWYJLayer : YZTRootLayer
|
|
|
if (GlobalData.sWAlerts.Count < 1)
|
|
|
return;
|
|
|
|
|
|
- for (int i = currentYiChangJingGaoItems.Count - 1; i > 0; i--) {
|
|
|
+ for (int i = currentYiChangJingGaoItems.Count - 1; i >= 0; i--) {
|
|
|
Destroy(currentYiChangJingGaoItems[i].gameObject);
|
|
|
}
|
|
|
currentYiChangJingGaoItems.Clear();
|