Merge pull request #826 from kevlahnota/master

fix crash when copying tokens
This commit is contained in:
Anthony Calosa
2016-08-04 00:41:31 +08:00
committed by GitHub

View File

@@ -1462,8 +1462,8 @@ int AACopier::resolve()
if (_target)
{
MTGCard* clone ;
if((_target->isToken || _target->isACopier) && _target->hasCopiedToken)
{
if(_target->isToken || (_target->isACopier && _target->hasCopiedToken))
{//fix crash when copying token
clone = _target;
tokencopied = true;
}