diff --git a/cockatrice/src/game/board/card_item.cpp b/cockatrice/src/game/board/card_item.cpp index 029822805..9d64837a0 100644 --- a/cockatrice/src/game/board/card_item.cpp +++ b/cockatrice/src/game/board/card_item.cpp @@ -283,6 +283,12 @@ void CardItem::drawArrow(const QColor &arrowColor) int currentPhase = game->getGameState()->getCurrentPhase(); phase = Phases::getLastSubphase(currentPhase) + 1; } + for (ArrowItem *arrowItem : getArrowsFrom()) { + if (arrowItem->getTargetItem() == nullptr) { + arrowItem->ungrabMouse(); + arrowItem->delArrow(); + } + } ArrowDragItem *arrow = new ArrowDragItem(arrowOwner, this, arrowColor, phase); scene()->addItem(arrow); arrow->grabMouse();