From 6930bf220bd8ebf503340141d2923677c699d750 Mon Sep 17 00:00:00 2001 From: FL-OZ Date: Mon, 4 May 2020 00:18:46 -0500 Subject: [PATCH] trying that again --- Content.Shared/EntryPoint.cs | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/Content.Shared/EntryPoint.cs b/Content.Shared/EntryPoint.cs index f2a1e7312e..8975f3fbb4 100644 --- a/Content.Shared/EntryPoint.cs +++ b/Content.Shared/EntryPoint.cs @@ -1,36 +1,23 @@ using System; using System.Collections.Generic; - using System.Globalization; using Content.Shared.Maps; using Robust.Shared.ContentPack; using Robust.Shared.Interfaces.Map; using Robust.Shared.IoC; - using Robust.Shared.Localization; using Robust.Shared.Prototypes; - namespace Content.Shared +namespace Content.Shared { public class EntryPoint : GameShared { - // If you want to change your codebase's language, do it here. - private const string Culture = "en-US"; - #pragma warning disable 649 [Dependency] private readonly IPrototypeManager _prototypeManager; [Dependency] private readonly ITileDefinitionManager _tileDefinitionManager; - [Dependency] private readonly ILocalizationManager _localizationManager; #pragma warning restore 649 - public override void PreInit() - { - IoCManager.InjectDependencies(this); - - // Default to en-US. - _localizationManager.LoadCulture(new CultureInfo(Culture)); - } - public override void Init() { + IoCManager.InjectDependencies(this); } public override void PostInit() @@ -68,5 +55,6 @@ _tileDefinitionManager.Initialize(); } + } }