File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ class Flags {
196
196
public static var DISABLE_WARNING_SCREEN : Bool = true ;
197
197
public static var DISABLE_TRANSITIONS : Bool = false ;
198
198
public static var DISABLE_LANGUAGES : Bool = false ;
199
+ public static var DISABLE_AUTOUPDATER : Bool = false ;
199
200
200
201
@:also (funkin.backend. MusicBeatTransition .script )
201
202
public static var DEFAULT_TRANSITION_SCRIPT : String = " " ;
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ class TitleState extends MusicBeatState
157
157
158
158
function goToMainMenu (force = true ) {
159
159
#if UPDATE_CHECKING
160
- if (! force ) {
160
+ if (! force && ! Flags . DISABLE_AUTOUPDATER ) {
161
161
funkin.backend.system.updating. UpdateUtil .waitForUpdates (false , (report ) -> {
162
162
hasCheckedUpdates = true ;
163
163
if (FlxG .state != this ) return ;
You can’t perform that action at this time.
0 commit comments