From 85575ba1ae17144b3f2fa4e9c2291e130140e87a Mon Sep 17 00:00:00 2001 From: mgoeppner Date: Fri, 23 Dec 2022 15:05:13 +0100 Subject: [PATCH] Fix potential crash when the character is null. --- src/EVEMon/Controls/OverviewItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EVEMon/Controls/OverviewItem.cs b/src/EVEMon/Controls/OverviewItem.cs index 7499dee85..483ba0f3d 100644 --- a/src/EVEMon/Controls/OverviewItem.cs +++ b/src/EVEMon/Controls/OverviewItem.cs @@ -383,7 +383,7 @@ private void UpdateContent() m_hasSkillQueueTrainingTime = false; } - var boosterDuration = ccpCharacter.SkillQueue.BoosterDuration; + var boosterDuration = ccpCharacter?.SkillQueue.BoosterDuration ?? TimeSpan.Zero; if (boosterDuration > TimeSpan.Zero) {