banner bug;maxranking修改

This commit is contained in:
Caiyanpeng committed 2022-01-12 10:29:10 +08:00
1 parent 939774bd42
commit f0df68bbda
3 files changed
+18 -8

No files matched your search

+2
View File
@@ -185,6 +185,8 @@ public class MainController : BaseScene
#endif
private void DoMessage6(LinkedMessageEvent e)
{
//Resources.UnloadUnusedAssets();
//GC.Collect();
var selectIndex = msgIndex % 5;
var m = msgs[selectIndex];
if (msgIndex >= 5) //
@@ -317,7 +317,7 @@ public class HomeController : PFUIPanel
if (res.result)
{
maxList = res.data;
if (maxList.Count >= 3)
if (maxList.Count > 0)
{
maxdataTime = 3;
maxdataIndex = 0;