cheshire137 / competiwatch

Web app to track and visualize your competitive match history in Overwatch.
MIT License
17 stars 4 forks source link

Updating match rank does not update match result #20

Closed RobThePM closed 6 years ago

RobThePM commented 6 years ago

i first entered a match as having gained SR. then i went back and edited it so that i lost SR. table shows W for a win, but negative SR. picture below.

image

cheshire137 commented 6 years ago

I think this is a bug Jamie just described to me, too. He entered the same SR for two separate games accidentally, so the second one showed as a draw. When he edited the second one to fix the SR, it still showed as a draw.

Need to update the matches.result field after matches.rank changes.

cheshire137 commented 6 years ago

This shouldn't happen again, thanks Rob! You will need to save your match to fix it, though. No need to change anything, just hitting save should do it.