mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Precise, time period-independent timing for Windows game loop.
This commit is contained in:
@@ -200,7 +200,12 @@ namespace Robust.Client
|
||||
// Setup main loop
|
||||
if (_mainLoop == null)
|
||||
{
|
||||
_mainLoop = new GameLoop(_gameTiming, _runtimeLog, _prof, _logManager.GetSawmill("eng"))
|
||||
_mainLoop = new GameLoop(
|
||||
_gameTiming,
|
||||
_runtimeLog,
|
||||
_prof,
|
||||
_logManager.GetSawmill("eng"),
|
||||
GameLoopOptions.FromCVars(_configurationManager))
|
||||
{
|
||||
SleepMode = displayMode == DisplayMode.Headless ? SleepMode.Delay : SleepMode.None
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user