Skip to content

Commit a83f62a

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 0500680 + f867732 commit a83f62a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

source/funkin/backend/system/Flags.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 = "";

source/funkin/menus/TitleState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)