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;
                     return -1;
                 }
                 }
-                else
+                else if(count < 0)
                 {
                 {
                     return 1;
                     return 1;
                 }
                 }
+                else
+                {
+                    return 0;
+                }
             });
             });
         }
         }