Skip to content

Commit 8ba4199

Browse files
committed
UpdateUtil hopefully doesnt show null this time
1 parent 6c92fcf commit 8ba4199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/funkin/backend/system/updating/UpdateUtil.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class UpdateUtil {
6363
}
6464

6565
static function __checkForUpdates():UpdateCheckCallback {
66-
var curTag = 'v${Flags.VERSION}', error = false;
66+
var curTag = 'v' + (Flags.VERSION == null ? Application.current.meta.get('version') : Flags.VERSION), error = false;
6767
var newUpdates = __doReleaseFiltering(GitHub.getReleases(Flags.REPO_OWNER, Flags.REPO_NAME, (e) -> {
6868
error = true;
6969
}), curTag);

0 commit comments

Comments
 (0)