Update template to use the latest RobustToolbox version.

This commit is contained in:
Vera Aguilera Puerto 2021-04-23 20:40:47 +02:00
parent 5377dce401
commit 107d0ac16b
7 changed files with 43 additions and 3 deletions

View file

@ -5,6 +5,7 @@ using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
using Robust.Shared.Timing;
// DEVNOTE: Games that want to be on the hub are FORCED use the "Content." prefix for assemblies they want to load.
namespace Content.Client
{
public class EntryPoint : GameClient

View file

@ -4,6 +4,20 @@ namespace Content.Client
{
internal static class Program
{
public static void Main(string[] args) => ContentStart.Start(args);
public static void Main(string[] args)
{
ContentStart.Start(args);
/*
// DEVNOTE: If you want to use RobustToolbox as a library, use the method below instead.
// Keep in mind, this will make your game ineligible from appearing on the SS14 hub, specially if you
// disable sandboxing.
ContentStart.StartLibrary(args, new GameControllerOptions()
{
// DEVNOTE: Your options here.
Sandboxing = false,
});
*/
}
}
}