Skip to content

Commit a947cd3

Browse files
Add second null check.
1 parent 0378d1d commit a947cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QuickWaveBank/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ private void OnExtract(object sender, RoutedEventArgs e) {
937937
dialog.Title = "Choose Wave Bank";
938938
dialog.Filter = "Wave Banks|*.xwb|All Files|*.*";
939939
dialog.FilterIndex = 0;
940-
dialog.InitialDirectory = TerrariaLocator.TerrariaContentDirectory;
940+
dialog.InitialDirectory = TerrariaLocator.TerrariaContentDirectory ?? "";
941941
var result = dialog.ShowDialog(this);
942942
if (result.HasValue && result.Value) {
943943
string file = dialog.FileName;

0 commit comments

Comments
 (0)