mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-30 08:57:00 +02:00
Reduced number of assembling asks
This commit is contained in:
parent
82eb2f8a2b
commit
89409da0c0
@ -2683,7 +2683,7 @@ bool CGameHandler::moveArtifact(const ArtifactLocation &al1, const ArtifactLocat
|
|||||||
}
|
}
|
||||||
|
|
||||||
MoveArtifact ma(&src, &dst);
|
MoveArtifact ma(&src, &dst);
|
||||||
if(dst.slot == ArtifactPosition::TRANSITION_POS)
|
if(src.artHolder == dst.artHolder)
|
||||||
ma.askAssemble = false;
|
ma.askAssemble = false;
|
||||||
sendAndApply(&ma);
|
sendAndApply(&ma);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user