mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Merge pull request #2669 from SoundSSGood/backpack-window-fix
Backpack window fix
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user