Fix bug that blows up edunetworkbuilder at first run.

This commit is contained in:
Tim Young 2017-07-29 10:49:53 -05:00
parent a3dcf049e2
commit 14d52ec713

View File

@ -84,6 +84,9 @@ namespace EduNetworkBuilder
} }
else else
{ {
if (Properties.Settings.Default.ScoreList == null)
Properties.Settings.Default.ScoreList = new System.Collections.Specialized.StringCollection();
LastPath = Properties.Settings.Default.LastPath; LastPath = Properties.Settings.Default.LastPath;
AutoStartPuzzles = Properties.Settings.Default.AutoStartPuzzles; AutoStartPuzzles = Properties.Settings.Default.AutoStartPuzzles;
ChosenLanguage = Properties.Settings.Default.ChosenLanguage; ChosenLanguage = Properties.Settings.Default.ChosenLanguage;