ComplexRalex/Completed-Games-Registers

[BUG] Same JSON file with different game registers

ComplexRalex opened this issue · 1 comments

Describe the bug
When a game information is downloaded, this file is named as the game name but without special symbols and lower case.
So, if exists a game that it's the same name as another game but with special characters, then the JSON file will be the same.

To Reproduce
Steps to reproduce the behavior:

  1. Add a game
  2. Name it "64.0", download its information and save it
  3. View that game. This will contain information about the game named "64.0".
  4. Quit that view and add a new game
  5. Name it "640", download its information and save it
  6. View the register of "64.0" (not the "640" register)
  7. See new information

Expected behavior
View the game information of the game.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version of the program: 1.0.0

Fixed for the next update (1.0.1).