mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Multi-window support (#1713)
This commit is contained in:
committed by
GitHub
parent
eb9e842027
commit
8efffc471d
@@ -449,14 +449,13 @@ namespace Robust.UnitTesting
|
||||
|
||||
cfg.OverrideConVars(new []{(CVars.NetPredictLagBias.Name, "0")});
|
||||
|
||||
var failureLevel = _options == null ? LogLevel.Error : _options.FailureLogLevel;
|
||||
client.ContentStart = _options?.ContentStart ?? false;
|
||||
client.Startup(() => new TestLogHandler("CLIENT", failureLevel));
|
||||
|
||||
var gameLoop = new IntegrationGameLoop(DependencyCollection.Resolve<IGameTiming>(),
|
||||
_fromInstanceWriter, _toInstanceReader);
|
||||
|
||||
var failureLevel = _options == null ? LogLevel.Error : _options.FailureLogLevel;
|
||||
client.OverrideMainLoop(gameLoop);
|
||||
client.MainLoop(GameController.DisplayMode.Headless);
|
||||
client.ContentStart = true;
|
||||
client.Run(GameController.DisplayMode.Headless, () => new TestLogHandler("CLIENT", failureLevel));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user