From 9cb33130fcb6358d43bffe5b70d26b3e06b5ff13 Mon Sep 17 00:00:00 2001 From: Neato <49599979+neatodev@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:02:07 +0200 Subject: [PATCH] Add hint --- UI/CityLauncher.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/UI/CityLauncher.cs b/UI/CityLauncher.cs index 7e1d8d4..545f692 100644 --- a/UI/CityLauncher.cs +++ b/UI/CityLauncher.cs @@ -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 { @@ -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(); }