* Non-accessed local variable * Merge cast and type checks. * StringComparison.Ordinal added for better culture support * Supposed code improvement in launcher. Remove unused code. * Update ExplosionHelper.cs Unintentional change. * Optimized Import * Add Robust.Shared.Utility import where it was deleted * Other random suggestion * Improve my comment
20 lines
493 B
C#
20 lines
493 B
C#
using Content.Server.Sandbox;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Content.Server.GameTicking.GamePresets
|
|
{
|
|
public sealed class PresetSandbox : GamePreset
|
|
{
|
|
#pragma warning disable 649
|
|
[Dependency] private readonly ISandboxManager _sandboxManager;
|
|
#pragma warning restore 649
|
|
|
|
public override void Start()
|
|
{
|
|
_sandboxManager.IsSandboxEnabled = true;
|
|
}
|
|
|
|
public override string Description => "Sandbox, go and build something!";
|
|
}
|
|
}
|