Merge remote-tracking branch 'upstream/main'
This commit is contained in:
@@ -196,6 +196,7 @@ class Flags {
|
||||
public static var DISABLE_WARNING_SCREEN:Bool = true;
|
||||
public static var DISABLE_TRANSITIONS:Bool = false;
|
||||
public static var DISABLE_LANGUAGES:Bool = false;
|
||||
public static var DISABLE_AUTOUPDATER:Bool = false;
|
||||
|
||||
@:also(funkin.backend.MusicBeatTransition.script)
|
||||
public static var DEFAULT_TRANSITION_SCRIPT:String = "";
|
||||
|
||||
@@ -157,7 +157,7 @@ class TitleState extends MusicBeatState
|
||||
|
||||
function goToMainMenu(force = true) {
|
||||
#if UPDATE_CHECKING
|
||||
if (!force) {
|
||||
if (!force && !Flags.DISABLE_AUTOUPDATER) {
|
||||
funkin.backend.system.updating.UpdateUtil.waitForUpdates(false, (report) -> {
|
||||
hasCheckedUpdates = true;
|
||||
if (FlxG.state != this) return;
|
||||
|
||||
Reference in New Issue
Block a user