Files
RobustToolbox/Robust.Server/ContentStart.cs
Vera Aguilera Puerto c06707d519 Adds ServerOptions, improve GameControllerOptions, fix engine integration tests (#1844)
* Adds ServerOptions, improve GameControllerOptions, fix engine integration tests

* Do component auto-registration in engine integration tests by default

* Fix integration tests on content, register components ONLY if not contentstarted or options are null

* Add integration test for engine integration tests working correctly

* Move cvar overrides out of content and into engine.
2021-07-03 15:19:46 +02:00

20 lines
496 B
C#

namespace Robust.Server
{
public static class ContentStart
{
public static void Start(string[] args)
{
#if FULL_RELEASE
throw new System.InvalidOperationException("ContentStart.Start is not available on a full release.");
#else
Program.Start(args, new ServerOptions(), true);
#endif
}
public static void StartLibrary(string[] args, ServerOptions options)
{
Program.Start(args, options, true);
}
}
}