Fixed another RW drop regression where server would not start on headless environments

This commit is contained in:
Ceikry
2022-03-20 08:33:40 +00:00
committed by Ryan
parent 3b6b5885f2
commit 728d221d27
@@ -119,8 +119,8 @@ class MajorUpdateWorker {
}
val end = System.currentTimeMillis()
ServerMonitor.eventQueue.add(GuiEvent.UpdateTickTime(end - start))
ServerMonitor.eventQueue.add(GuiEvent.UpdatePulseCount(GameWorld.Pulser.TASKS.size))
/* ServerMonitor.eventQueue.add(GuiEvent.UpdateTickTime(end - start))
ServerMonitor.eventQueue.add(GuiEvent.UpdatePulseCount(GameWorld.Pulser.TASKS.size))*/
Thread.sleep(max(600 - (end - start), 0))
}
}