mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
* 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.
20 lines
496 B
C#
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);
|
|
}
|
|
}
|
|
}
|