|
@@ -59,7 +59,7 @@ namespace ET
|
|
|
await task;
|
|
|
}
|
|
|
|
|
|
- public static void Update()
|
|
|
+ public static void Update(int timeMS)
|
|
|
{
|
|
|
int count = updates.Count;
|
|
|
while (count-- > 0)
|
|
@@ -79,7 +79,7 @@ namespace ET
|
|
|
updates.Enqueue(singleton);
|
|
|
try
|
|
|
{
|
|
|
- update.Update();
|
|
|
+ update.Update(timeMS);
|
|
|
}
|
|
|
catch (Exception e)
|
|
|
{
|
|
@@ -137,4 +137,4 @@ namespace ET
|
|
|
singletonTypes.Clear();
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|