From 82f90fcab35d9a93fc3a16a8871f5b1e215eeeb1 Mon Sep 17 00:00:00 2001 From: IceStormNG Date: Fri, 1 Mar 2024 07:50:13 +0100 Subject: [PATCH] Make sure the game list is initialzed --- app/AutoTDP/AutoTDPService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/app/AutoTDP/AutoTDPService.cs b/app/AutoTDP/AutoTDPService.cs index dd9eb2be..9957b71d 100644 --- a/app/AutoTDP/AutoTDPService.cs +++ b/app/AutoTDP/AutoTDPService.cs @@ -139,6 +139,7 @@ namespace GHelper.AutoTDP { if (!File.Exists(GameProfileFile)) { + if (GameProfiles is null) GameProfiles = new List(); return; }