From c0287ab93229a11d62843302135e2d765ce1686e Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Sun, 19 Nov 2023 03:03:47 +0200 Subject: [PATCH] chore: rename game id 7d2d to sdtd --- CHANGELOG.md | 4 +++- lib/games.js | 17 ++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d955090..b663158 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,9 @@ * Removed the following alternative game ids: `minecraftping` (as it was deprecated and the same thing as `minecraft`), `minecraftpe` (deprecated, which is the same as `minecraftbe`), `flashpoint` (alternative was `operationflashpoint`, see next point) and `tshock` (which is `terraria`). -* Renamed the game id `operationflashpoint` to reference it by its full name, now is `ofcwc`. +* Renamed following game ids: +* * `operationflashpoint` to reference it by its full name, now is `ofcwc`. +* * `7d2d` to standardize game ids as they won't being with a digit and this was the only one, now is `sdtd`. ### Other changes #### Package diff --git a/lib/games.js b/lib/games.js index 4bfabbc..0d73717 100644 --- a/lib/games.js +++ b/lib/games.js @@ -1,13 +1,4 @@ export const games = { - // Rename these special case keys - '7d2d': { - name: '7 Days to Die (2013)', - options: { - port: 26900, - port_query_offset: 1, - protocol: 'valve' - } - }, as: { name: 'Action: Source (2019)', options: { @@ -1800,6 +1791,14 @@ export const games = { protocol: 'savage2' } }, + sdtd: { + name: '7 Days to Die (2013)', + options: { + port: 26900, + port_query_offset: 1, + protocol: 'valve' + } + }, spaceengineers: { name: 'Space Engineers', options: {