浏览代码

修改好友排序

leiyasi 1 年之前
父节点
当前提交
b02f50475e
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      GameClient/Assets/Game/HotUpdate/Data/FriendDataManager.cs

+ 5 - 1
GameClient/Assets/Game/HotUpdate/Data/FriendDataManager.cs

@@ -114,10 +114,14 @@ namespace GFGGame
                 {
                     return -1;
                 }
-                else
+                else if(count < 0)
                 {
                     return 1;
                 }
+                else
+                {
+                    return 0;
+                }
             });
         }