1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

backpack window fix

This commit is contained in:
SoundSSGood
2023-08-25 10:08:08 +03:00
parent 43096f0ed1
commit 730ab449b6

View File

@@ -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();