From ce29238428b2d0c1fcedd18510b57db1ac04555f Mon Sep 17 00:00:00 2001 From: James Causon Date: Thu, 20 Jun 2024 09:09:27 +0100 Subject: [PATCH] bug: Remove mispelling legacy entry, add backwards compat. (#579) * chore: Remove duplicate entry for 'The Forrest' in GAMES_LIST.md * Add changelog entry * Update CHANGELOG.md --- CHANGELOG.md | 1 + GAMES_LIST.md | 1 - lib/games.js | 15 +++------------ 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1f5195..97f8335 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * Minetest - Added support for minetest utilizing official server list (By @xCausxn #573) * Soulmask - Added support (By @xCausxn #572) * Restore Minecraft's favicon (#575) +* Fix duplicate game entry for The Forest (2014), add old id for backwards compatibility (By @xCausxn #579) ## 5.0.0 * Added a new stabilized field `version` in the query response (By @podrivo #532) diff --git a/GAMES_LIST.md b/GAMES_LIST.md index 6be91f7..8509ead 100644 --- a/GAMES_LIST.md +++ b/GAMES_LIST.md @@ -294,7 +294,6 @@ | terrariatshock | Terraria - TShock | [Notes](#terraria) | | tfc | Team Fortress Classic | [Valve Protocol](#valve) | | theforest | The Forest | [Valve Protocol](#valve) | -| theforrest | The Forrest | [Valve Protocol](#valve) | | thefront | The Front | [Valve Protocol](#valve) | | thehidden | The Hidden | [Valve Protocol](#valve) | | theisle | The Isle | [Valve Protocol](#valve) | diff --git a/lib/games.js b/lib/games.js index 5d4158e..ef1fb83 100644 --- a/lib/games.js +++ b/lib/games.js @@ -1270,18 +1270,6 @@ export const games = { old_id: 'fivem' } }, - theforrest: { - name: 'The Forrest', - release_year: 2014, - options: { - port: 27015, - port_query_offset: 1, - protocol: 'valve' - }, - extra: { - old_id: 'forrest' - } - }, garrysmod: { name: "Garry's Mod", release_year: 2004, @@ -2902,6 +2890,9 @@ export const games = { port: 27015, port_query_offset: 1, protocol: 'valve' + }, + extra: { + old_id: 'forrest' } }, thefront: {