Skip to content

Commit c87b332

Browse files
Patrick Soquetmkellner
authored andcommitted
mcsim autorun
1 parent 7a4fbec commit c87b332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/mcsim/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ class ApplicationBehavior extends Behavior {
9090

9191
this.messagesKind = false;
9292

93+
this.readPreferences();
94+
9395
try {
9496
let directory = system.getPathDirectory(system.applicationPath);
9597
directory = system.buildPath(directory, "autorun");
@@ -104,8 +106,6 @@ class ApplicationBehavior extends Behavior {
104106
}
105107
catch {
106108
}
107-
108-
this.readPreferences();
109109

110110
if (this.orientation)
111111
application.add(new VerticalContainer(this));

0 commit comments

Comments
 (0)