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 {
196196 public static var DISABLE_WARNING_SCREEN : Bool = true ;
197197 public static var DISABLE_TRANSITIONS : Bool = false ;
198198 public static var DISABLE_LANGUAGES : Bool = false ;
199+ public static var DISABLE_AUTOUPDATER : Bool = false ;
199200
200201 @:also (funkin.backend. MusicBeatTransition .script )
201202 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
157157
158158 function goToMainMenu (force = true ) {
159159 #if UPDATE_CHECKING
160- if (! force ) {
160+ if (! force && ! Flags . DISABLE_AUTOUPDATER ) {
161161 funkin.backend.system.updating. UpdateUtil .waitForUpdates (false , (report ) -> {
162162 hasCheckedUpdates = true ;
163163 if (FlxG .state != this ) return ;
You can’t perform that action at this time.
0 commit comments