mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 06:42:25 +02:00
Precise, time period-independent timing for Windows game loop.
This commit is contained in:
@@ -510,7 +510,12 @@ namespace Robust.Server
|
||||
{
|
||||
if (_mainLoop == null)
|
||||
{
|
||||
_mainLoop = new GameLoop(_time, _runtimeLog, _prof, _log.GetSawmill("eng"))
|
||||
_mainLoop = new GameLoop(
|
||||
_time,
|
||||
_runtimeLog,
|
||||
_prof,
|
||||
_log.GetSawmill("eng"),
|
||||
GameLoopOptions.FromCVars(_config))
|
||||
{
|
||||
SleepMode = SleepMode.Delay,
|
||||
DetectSoftLock = true,
|
||||
|
||||
Reference in New Issue
Block a user