Explorar o código

backpack window fix

SoundSSGood %!s(int64=2) %!d(string=hai) anos
pai
achega
730ab449b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/widgets/CWindowWithArtifacts.cpp

+ 1 - 1
client/widgets/CWindowWithArtifacts.cpp

@@ -165,7 +165,7 @@ void CWindowWithArtifacts::leftClickArtPlaceHero(CArtifactsOfHeroBase & artsInst
 
 				if constexpr(std::is_same_v<decltype(artSetWeak), std::weak_ptr<CArtifactsOfHeroBackpack>>)
 				{
-					if(!isTransferAllowed)
+					if(!isTransferAllowed && artPlace.getArt())
 					{
 						if(closeCallback)
 							closeCallback();