From bfd5907bc18c0a427e885be7d2a11cb35f8bff0e Mon Sep 17 00:00:00 2001 From: Justin Swanson Date: Sat, 14 Dec 2019 17:43:54 -0600 Subject: [PATCH] Null fix in VortexCompilerVM --- Wabbajack/View Models/Compilers/VortexCompilerVM.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Wabbajack/View Models/Compilers/VortexCompilerVM.cs b/Wabbajack/View Models/Compilers/VortexCompilerVM.cs index fde9626e..d8e60219 100644 --- a/Wabbajack/View Models/Compilers/VortexCompilerVM.cs +++ b/Wabbajack/View Models/Compilers/VortexCompilerVM.cs @@ -80,6 +80,7 @@ namespace Wabbajack _modListSettings = this.WhenAny(x => x.SelectedGame) .Select(game => { + if (game == null) return null; var gameSettings = _settings.ModlistSettings.TryCreate(game.Game); return new ModlistSettingsEditorVM(gameSettings.ModlistSettings); })