Skip to content

Commit

Permalink
Change: PlanetSizeCap config value now corresponds to the max size of…
Browse files Browse the repository at this point in the history
… planets spawnable by the admin menu of the plugin
  • Loading branch information
8vogt committed Dec 7, 2020
1 parent aa8f0c6 commit 9a4126f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SEWorldGenPlugin/GUI/PluginAdminMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private void BuildPlanetMenu()

m_currentPosition.Y += 0.025f;

m_planetSizeSlider = new MyGuiControlClickableSlider(m_currentPosition + new Vector2(0.001f, 0f), 120f, 2400f, intValue: true, toolTip: MyPluginTexts.TOOLTIPS.ADMIN_PLANET_SIZE);
m_planetSizeSlider = new MyGuiControlClickableSlider(m_currentPosition + new Vector2(0.001f, 0f), 120f, (float)SettingsSession.Static.Settings.GeneratorSettings.PlanetSettings.PlanetSizeCap, intValue: true, toolTip: MyPluginTexts.TOOLTIPS.ADMIN_PLANET_SIZE);
m_planetSizeSlider.Size = new Vector2(0.285f, 1f);
m_planetSizeSlider.DefaultValue = 1200f;
m_planetSizeSlider.Value = m_planetSizeSlider.DefaultValue.Value;
Expand Down

0 comments on commit 9a4126f

Please sign in to comment.