From 730ab449b6491cb5673dfd35bc127cbe58e8708a Mon Sep 17 00:00:00 2001 From: SoundSSGood <87084363+SoundSSGood@users.noreply.github.com> Date: Fri, 25 Aug 2023 10:08:08 +0300 Subject: [PATCH] backpack window fix --- client/widgets/CWindowWithArtifacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/widgets/CWindowWithArtifacts.cpp b/client/widgets/CWindowWithArtifacts.cpp index 5bd2a00a3..3a9c3156a 100644 --- a/client/widgets/CWindowWithArtifacts.cpp +++ b/client/widgets/CWindowWithArtifacts.cpp @@ -165,7 +165,7 @@ void CWindowWithArtifacts::leftClickArtPlaceHero(CArtifactsOfHeroBase & artsInst if constexpr(std::is_same_v>) { - if(!isTransferAllowed) + if(!isTransferAllowed && artPlace.getArt()) { if(closeCallback) closeCallback();