Updated PM, uses 60s average to match message update time, modified message to display Server Running Time(Total Time Elapsed) in h:m:s.ms format
Readded perviously removed update interval condition
This commit is contained in:
@@ -692,11 +692,11 @@ namespace Barotrauma
|
||||
GameMain.PerformanceCounter.AddElapsedTicks("Update:MapEntity:Misc", sw.ElapsedTicks);
|
||||
sw.Restart();
|
||||
#endif
|
||||
//TODO: Divide ItemList into different parts to update
|
||||
Task ItemTask = Task.Factory.StartNew(() =>
|
||||
{
|
||||
Item.UpdatePendingConditionUpdates(deltaTime);
|
||||
//mapEntityUpdateTick % MapEntityUpdateInterval == 0
|
||||
if (true)
|
||||
if (mapEntityUpdateTick % MapEntityUpdateInterval == 0)
|
||||
{
|
||||
Item lastUpdatedItem = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user