Closed trestianp closed 11 years ago
Thanks a lot :) if you want to request a pull, I'll be more than happy to merge it and give you the credit :)
But if you don't have the time, I can fix it myself. It's up to you !
No, it's fine. You can fix it. I will play a little more with this app and let you know if I see any issues. I really like the idea and what you did .
b0d62f9bc498a12bf3c682134aace3c0114951ca Thanks to you, it's fixed =)
When Playing the second game ( the one after the tutorial) I noticed that if I made 400 points I got the Admiral rank.
Steps to reproduce:
Expected result: You get the rank "Deserter"
Actual result: You get the rank "Admiral"
Notes: I wasn't sure if it's ok to fork it and correct the bug myself , so I will tell you where you need to make the change. There are two places where this appears so I assume that this also happens on both game modes. In the src/main/java/fr/tvbarthel/games/chasewhisply/model/mode/GameModeMarathon.java and src/main/java/fr/tvbarthel/games/chasewhisply/model/mode/GameModeSprint.java In GameModeSprint.java Code line 47 says : 'return GameModeFactory.GAME_RANK_ADMIRAL;' and needs to be replaced with return GameModeFactory.GAME_RANK_DESERTER; Same change in GameModeMarathon.java on line 45 . Easy fix, I know.