add card uid map

This commit is contained in:
GenevensiS
2026-05-04 02:21:33 +02:00
parent 9a5be16e4e
commit 8cc17abecc
9 changed files with 138 additions and 90 deletions
+2 -1
View File
@@ -308,7 +308,8 @@ void SetWindow::onChangeSet() {
updateTitle();
// make sure there is always at least one card
// some things need this
if (set->cards.empty()) set->cards.push_back(make_intrusive<Card>(*set->game));
if (set->cards.empty()) set->cards.push_back(make_intrusive<Card>(*set->game));
set->buildUidMap();
// all panels view the same set
FOR_EACH(p, panels) {
p->setSet(set);