Tastudio - fix NRE when running a .tasproj through the normal movie system, making changes, then opening tastudio

This commit is contained in:
adelikat 2019-12-14 09:57:56 -06:00
parent a84213562f
commit 51df281d38
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ namespace BizHawk.Client.EmuHawk
}
else
{
_autosaveTimer.Stop();
_autosaveTimer?.Stop();
GlobalWin.Sound.StopSound();
MessageStatusLabel.Text = "Saving...";
Cursor = Cursors.WaitCursor;
@ -112,7 +112,7 @@ namespace BizHawk.Client.EmuHawk
CurrentTasMovie.Save();
if (Settings.AutosaveInterval > 0)
{
_autosaveTimer.Start();
_autosaveTimer?.Start();
}
MessageStatusLabel.Text = $"{CurrentTasMovie.Name} saved.";