mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
apply update scripts in correct order
This commit is contained in:
+4
-2
@@ -207,8 +207,10 @@ void Game::validate(Version v) {
|
||||
card_links_alt_names.emplace(linked_tr, linked_default);
|
||||
}
|
||||
}
|
||||
// sort the update_cards_scripts from oldest to newest
|
||||
std::sort(update_cards_scripts.begin(), update_cards_scripts.end());
|
||||
// sort the update_cards_scripts from oldest to newest
|
||||
std::sort(update_cards_scripts.begin(), update_cards_scripts.end(), [](const auto& a, const auto& b) {
|
||||
return *a < *b;
|
||||
});
|
||||
}
|
||||
|
||||
void Game::initCardListColorScript() {
|
||||
|
||||
Reference in New Issue
Block a user