Skip to content

Commit

Permalink
chore: rename game id 7d2d to sdtd
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Nov 19, 2023
1 parent ce4cddb commit c0287ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 8 additions & 9 deletions lib/games.js
Original file line number Diff line number Diff line change
@@ -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: {
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit c0287ab

Please sign in to comment.