From c6204d8a4bec821171e43e08292d9912f440df26 Mon Sep 17 00:00:00 2001 From: hguy Date: Sun, 20 Aug 2023 14:46:47 +0200 Subject: [PATCH] Fix #504 --- src/TQVaultAE.GUI/Components/SackPanel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TQVaultAE.GUI/Components/SackPanel.cs b/src/TQVaultAE.GUI/Components/SackPanel.cs index aae3c8b3..d9a35682 100644 --- a/src/TQVaultAE.GUI/Components/SackPanel.cs +++ b/src/TQVaultAE.GUI/Components/SackPanel.cs @@ -2500,7 +2500,8 @@ protected virtual bool IsCurrentPlayerReadOnly() protected virtual bool IsSuitableForCurrentPlayer(Item item) { var currPlayer = this.userContext.CurrentPlayer; - if (!(currPlayer?.IsImmortalThrone ?? false) // Player is TQ Original + + if (currPlayer is not null && !currPlayer.IsImmortalThrone // Player is TQ Original && item.GameDlc != GameDlc.TitanQuest // Non base game item ) return false;