diff --git a/OpenRA.Mods.Common/Widgets/ProductionPaletteWidget.cs b/OpenRA.Mods.Common/Widgets/ProductionPaletteWidget.cs index 0d2f9079c5..6faf6fe56c 100644 --- a/OpenRA.Mods.Common/Widgets/ProductionPaletteWidget.cs +++ b/OpenRA.Mods.Common/Widgets/ProductionPaletteWidget.cs @@ -151,9 +151,6 @@ namespace OpenRA.Mods.Common.Widgets cantBuild = new Animation(world, NotBuildableAnimation); cantBuild.PlayFetchIndex(NotBuildableSequence, () => 0); clock = new Animation(world, ClockAnimation); - - overlayFont = Game.Renderer.Fonts[OverlayFont]; - Game.Renderer.Fonts.TryGetValue(SymbolsFont, out symbolFont); } public override void Initialize(WidgetArgs args) @@ -162,6 +159,9 @@ namespace OpenRA.Mods.Common.Widgets hotkeys = Exts.MakeArray(HotkeyCount, i => modData.Hotkeys[HotkeyPrefix + (i + 1).ToString("D2")]); + + overlayFont = Game.Renderer.Fonts[OverlayFont]; + Game.Renderer.Fonts.TryGetValue(SymbolsFont, out symbolFont); } public void ScrollDown()