tanghai 2 лет назад
Родитель
Сommit
2ebba03186
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Unity/Assets/Scripts/Core/World/Module/IdGenerater/IdGenerater.cs

+ 1 - 1
Unity/Assets/Scripts/Core/World/Module/IdGenerater/IdGenerater.cs

@@ -32,7 +32,7 @@ namespace ET
         public IdStruct(long id)
         {
             ulong result = (ulong) id; 
-            this.Value = (ushort) (result & IdGenerater.Mask20bit);
+            this.Value = (uint) (result & IdGenerater.Mask20bit);
             result >>= 20;
             this.Time = (uint) result & IdGenerater.Mask30bit;
             result >>= 30;