Skip to content

Commit

Permalink
Fixed version not shown in main menu. Missing formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
8vogt committed Mar 21, 2021
1 parent c768472 commit f43ed5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SEWorldGenPlugin/GUI/MyPluginMainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public override void RecreateControls(bool constructor)
}

MyGuiControlLabel pluginVersionLabel = new MyGuiControlLabel();
pluginVersionLabel.Text = PLUGIN_LOADED + VersionCheck.Static.GetVersion();
pluginVersionLabel.Text = string.Format(PLUGIN_LOADED.ToString(), VersionCheck.Static.GetVersion());
pluginVersionLabel.Position = MyGuiManager.ComputeFullscreenGuiCoordinate(MyGuiDrawAlignEnum.HORISONTAL_LEFT_AND_VERTICAL_BOTTOM, 8, 8);
pluginVersionLabel.OriginAlign = MyGuiDrawAlignEnum.HORISONTAL_LEFT_AND_VERTICAL_CENTER;
pluginVersionLabel.PositionY -= pluginVersionLabel.Size.Y / 2;
Expand Down

0 comments on commit f43ed5a

Please sign in to comment.