Skip to content

Commit

Permalink
Better texturepack support
Browse files Browse the repository at this point in the history
  • Loading branch information
neatodev committed Apr 14, 2024
1 parent b3d64c4 commit e3c49a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UI/CityLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ private void FullscreenBox_SelectedIndexChanged(object sender, EventArgs e)

private void DetailModeBox_SelectedIndexChanged(object sender, EventArgs e)
{
if (TextureFixButton.Text == "DISABLE TEXTURE PACK FIX" || TexturePlusCheckBox.Checked)
{
DetailModeBox.SelectedIndex = 2;
}
DisplaySettingChanged = true;
}

Expand Down Expand Up @@ -735,6 +739,7 @@ private void TextureFixButton_Click(object sender, EventArgs e)
Program.MainWindow.TextureFixButton.Text = "DISABLE TEXTURE PACK FIX";
Program.MainWindow.BasicToolTip.SetToolTip(Program.MainWindow.TextureFixButton, "Disable Texture Pack Fix. It is currently enabled.");
Program.MainWindow.TexturePlusCheckBox.Enabled = true;
Program.MainWindow.DetailModeBox.SelectedIndex = 2;
if (Program.MainWindow.PoolsizeBox.SelectedIndex < 2)
{
Program.MainWindow.PoolsizeBox.SelectedIndex = 2;
Expand Down

0 comments on commit e3c49a4

Please sign in to comment.