diff --git a/src/main.js b/src/main.js index b00ae53..30aabc3 100644 --- a/src/main.js +++ b/src/main.js @@ -1,5 +1,5 @@ import versionData from '../version.json'; -const { version, lastUpdated } = versionData; +const { version, lastUpdated, isSignificant } = versionData; import settingsManager from './settings.js'; import { clanFilter, leaderboardFilter } from "./clanFilters.js"; @@ -22,7 +22,7 @@ __fx.isCustomLobbyVersion = window.location.href.startsWith("https://fxclient.gi const savedVersion = localStorage.getItem("fx_version"); if (savedVersion !== version && !__fx.isCustomLobbyVersion) { localStorage.setItem("fx_version", version); - if (savedVersion !== null) displayChangelog(); + if (savedVersion !== null && isSignificant) displayChangelog(); } __fx.settingsManager = settingsManager; diff --git a/version.json b/version.json index 9514634..3569c92 100644 --- a/version.json +++ b/version.json @@ -1,11 +1,9 @@ { - "version": "0.6.18", - "lastUpdated": "Dec 30", + "version": "0.6.18.1", + "lastUpdated": "Jan 25", "changes": [ - "Updated custom lobbies to the latest version", - "When creating a custom lobby, you can now select a region where it will be created", - "The latency to the custom lobby server is displayed below the header in the custom lobby UI", - "Improved the propaganda blocking feature", - "Added automatic patches for the special custom lobby version (https://fxclient.github.io/custom-lobbies) which continues to serve its purpose of guaranteeing access to custom lobbies while allowing the regular version to quickly be updated to the latest Territorial.io version, neglecting the custom lobby patches if needed" - ] + "Fixes for game update v2.15.3", + "The \"What's new\" screen is no longer shown automatically after insignificant updates (such as this one)" + ], + "isSignificant": false }