diff --git a/Content.Client/EntryPoint.cs b/Content.Client/EntryPoint.cs index ff90a81..c590d00 100644 --- a/Content.Client/EntryPoint.cs +++ b/Content.Client/EntryPoint.cs @@ -1,15 +1,12 @@ using Robust.Shared.ContentPack; -using Robust.Shared.Interfaces.Configuration; -using Robust.Shared.Interfaces.GameObjects; -using Robust.Shared.Interfaces.Map; +using Robust.Shared.GameObjects; using Robust.Shared.IoC; -using Robust.Shared.Map; using Robust.Shared.Prototypes; using Robust.Shared.Timing; namespace Content.Client { - public class EntryPoint: GameClient + public class EntryPoint : GameClient { public override void Init() { diff --git a/Content.Server/EntryPoint.cs b/Content.Server/EntryPoint.cs index 6a1cd13..cbcb3e3 100644 --- a/Content.Server/EntryPoint.cs +++ b/Content.Server/EntryPoint.cs @@ -1,11 +1,11 @@ using Robust.Shared.ContentPack; -using Robust.Shared.Interfaces.GameObjects; +using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Timing; namespace Content.Server { - public class EntryPoint: GameServer + public class EntryPoint : GameServer { public override void Init() { base.Init(); diff --git a/Content.Shared/EntryPoint.cs b/Content.Shared/EntryPoint.cs index a71ed6f..c2c3b38 100644 --- a/Content.Shared/EntryPoint.cs +++ b/Content.Shared/EntryPoint.cs @@ -1,15 +1,11 @@ -using System; -using System.Collections.Generic; using System.Globalization; using Robust.Shared.ContentPack; using Robust.Shared.IoC; using Robust.Shared.Localization; -using Robust.Shared.Localization.Macros; -using Robust.Shared.Prototypes; namespace Content.Shared { - public class EntryPoint: GameShared + public class EntryPoint : GameShared { // See line 25. Controls the default game culture and language. // Robust calls this culture, but you might find it more fitting to call it the game @@ -20,13 +16,11 @@ namespace Content.Shared public override void PreInit() { IoCManager.InjectDependencies(this); - var textMacroFactory = IoCManager.Resolve(); - textMacroFactory.DoAutoRegistrations(); // Default to en-US. // DEVNOTE: If you want your game to be multiregional at runtime, you'll need to // do something more complicated here. - Loc.LoadCulture(new CultureInfo(Culture)); + IoCManager.Resolve().LoadCulture(new CultureInfo(Culture)); // TODO: Document what else you might want to put here }