mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +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()) {
|
if (new AutoUpdater(true).attemptToUpdate()) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
// load types before loading cards
|
||||||
|
loadDynamicGamedata();
|
||||||
|
|
||||||
//load card database
|
//load card database
|
||||||
final CardStorageReader reader = new CardStorageReader(ForgeConstants.CARD_DATA_DIR, progressBarBridge,
|
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));
|
Spell.setPerformanceMode(preferences.getPrefBoolean(FPref.PERFORMANCE_MODE));
|
||||||
|
|
||||||
loadDynamicGamedata();
|
|
||||||
|
|
||||||
if (progressBar != null) {
|
if (progressBar != null) {
|
||||||
FThreads.invokeInEdtLater(new Runnable() {
|
FThreads.invokeInEdtLater(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user