mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
FSkin bug fix made a new instance of FSkin. Removed this and used a pre-existing instance instead.
This commit is contained in:
@@ -112,8 +112,6 @@ public class ApplicationView implements FView {
|
||||
OldGuiNewGame.getUpldDrftCheckBox().setSelected(preferences.isUploadDraftAI());
|
||||
OldGuiNewGame.getFoilRandomCheckBox().setSelected(preferences.isRandCFoil());
|
||||
|
||||
AllZone.setSkin(new FSkin(preferences.getSkin()));
|
||||
|
||||
} catch (final Exception exn) {
|
||||
Log.error("Error loading preferences: " + exn);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package forge.view.swing;
|
||||
|
||||
import forge.AllZone;
|
||||
import forge.Singletons;
|
||||
import forge.error.ErrorViewer;
|
||||
import forge.error.ExceptionHandler;
|
||||
@@ -34,6 +35,7 @@ public final class Main {
|
||||
final FSkin skin = new FSkin(model.getPreferences().getSkin());
|
||||
final FView view = new ApplicationView(skin);
|
||||
Singletons.setView(view);
|
||||
AllZone.setSkin(skin);
|
||||
|
||||
// Need this soon after card factory is loaded
|
||||
OldGuiNewGame.loadDynamicGamedata();
|
||||
|
||||
Reference in New Issue
Block a user