Browse Source

【游戏服】修复一个可能的exception

大爷 1 year ago
parent
commit
b2f481c4dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DotNet/App/Program.cs

+ 1 - 1
DotNet/App/Program.cs

@@ -23,7 +23,7 @@ namespace ET
                 Thread.Sleep(15);
                 try
                 {
-                    Init.Update((int)(DateTime.Now.Ticks - nowMS)/10000);
+                    Init.Update((int)((DateTime.Now.Ticks - nowMS)/10000));
                     Init.LateUpdate();
                     Init.FrameFinishUpdate();
                     nowMS = DateTime.Now.Ticks;