Begin to use text macros (#914)
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
using Robust.Shared.Interfaces.Map;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Localization.Macros;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared
|
||||
{
|
||||
@@ -25,6 +26,9 @@
|
||||
{
|
||||
IoCManager.InjectDependencies(this);
|
||||
|
||||
var textMacroFactory = IoCManager.Resolve<ITextMacroFactory>();
|
||||
textMacroFactory.DoAutoRegistrations();
|
||||
|
||||
// Default to en-US.
|
||||
_localizationManager.LoadCulture(new CultureInfo(Culture));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user