Explorar el Código

backpack window fix

SoundSSGood hace 2 años
padre
commit
730ab449b6
Se han modificado 1 ficheros con 1 adiciones y 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();