diff --git a/libcockatrice_game/libcockatrice/game/board/card_state.cpp b/libcockatrice_game/libcockatrice/game/board/card_state.cpp index 7e8c079a4..16af72411 100644 --- a/libcockatrice_game/libcockatrice/game/board/card_state.cpp +++ b/libcockatrice_game/libcockatrice/game/board/card_state.cpp @@ -231,7 +231,7 @@ void CardState::setAttachedTo(CardState *_attachedTo) parentZone->reorganizeCards(); } } else if (getZone() != nullptr) { - emit getZone() -> cardAdded(this); + emit getZone()->cardAdded(this); } if (getZone() != nullptr) {