diff --git a/cockatrice/src/game/board/card_item.cpp b/cockatrice/src/game/board/card_item.cpp index 62de4a02e..eb7ffd352 100644 --- a/cockatrice/src/game/board/card_item.cpp +++ b/cockatrice/src/game/board/card_item.cpp @@ -285,6 +285,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();