mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
FModel: load types before loading cards
This commit is contained in:
@@ -164,6 +164,8 @@ public final class FModel {
|
||||
if (new AutoUpdater(true).attemptToUpdate()) {
|
||||
//
|
||||
}
|
||||
// load types before loading cards
|
||||
loadDynamicGamedata();
|
||||
|
||||
//load card database
|
||||
final CardStorageReader reader = new CardStorageReader(ForgeConstants.CARD_DATA_DIR, progressBarBridge,
|
||||
@@ -243,8 +245,6 @@ public final class FModel {
|
||||
|
||||
Spell.setPerformanceMode(preferences.getPrefBoolean(FPref.PERFORMANCE_MODE));
|
||||
|
||||
loadDynamicGamedata();
|
||||
|
||||
if (progressBar != null) {
|
||||
FThreads.invokeInEdtLater(new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user