From 1a64496206b5f04db7895b335c3063d295d90f09 Mon Sep 17 00:00:00 2001 From: GenevensiS <66968533+G-e-n-e-v-e-n-s-i-S@users.noreply.github.com> Date: Wed, 27 May 2026 20:30:38 +0200 Subject: [PATCH] fix bug not loading links correctly --- src/data/set.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/set.cpp b/src/data/set.cpp index 576e007d..c7964a7c 100644 --- a/src/data/set.cpp +++ b/src/data/set.cpp @@ -202,11 +202,11 @@ void Set::validate(Version file_app_version) { */ // we want at least one card - if (cards.empty()) cards.push_back(make_intrusive(*game)); + if (cards.empty()) cards.push_back(make_intrusive(*game)); + // build uid map + buildUIDMap(); // update scripts script_manager->updateAll(); - // build uid map - buildUIDMap(); // update_cards_scripts // first apply all the stylesheet scripts that are older than the first game script // then apply the first game script