Compare commits

...

1 Commits

Author SHA1 Message Date
ZeldaZach
7daa9a0ca9 Attempt fix crash case 2025-02-08 20:18:06 -05:00

View File

@@ -895,9 +895,12 @@ Server_Player::cmdConcede(const Command_Concede & /*cmd*/, ResponseContainer & /
continue;
}
const auto &regexResult = ownerRegex.match(card->getAnnotation());
if (!regexResult.hasMatch()) {
continue;
const QString cardAnnotation = card->getAnnotation();
if (!cardAnnotation.isEmpty()) {
const auto &regexResult = ownerRegex.match(cardAnnotation);
if (!regexResult.hasMatch()) {
continue;
}
}
CardToMove cardToMove;