Skip to content

Commit

Permalink
Add hint
Browse files Browse the repository at this point in the history
  • Loading branch information
neatodev committed Apr 16, 2024
1 parent 22b97d3 commit 9cb3313
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions UI/CityLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public partial class CityLauncher : Form
{
private bool DisplaySetting = false;
private bool ControlSetting = false;
private bool FirstSpeedrun = true;
private ImageTooltip ImgToolTip;
public bool DisplaySettingChanged
{
Expand Down Expand Up @@ -328,6 +329,16 @@ private void ToggleHudButton_Click(object sender, EventArgs e)

private void SpeedRunButton_Click(object sender, EventArgs e)
{
if (FirstSpeedrun)
{
DialogResult Result = MessageBox.Show("Assigning a key to the 'Speedrun' option may unbind existing keybinds you've already set up in preparation. Simply re-assign them, the 'Speedrun' option will stay unaffected.", "May affect existing keybinds", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
if (Result == DialogResult.OK)
{
FirstSpeedrun = false;
new InputForm(SpeedRunButton).ShowDialog();
}
return;
}
new InputForm(SpeedRunButton).ShowDialog();
}

Expand Down

0 comments on commit 9cb3313

Please sign in to comment.