HectusNet / NeoBB

Players compete in a turn-based match with random blocks which do random things.
https://marcpg.com/neobb
1 stars 1 forks source link

Player Rating is being updated in non ranked games #1

Closed TiagoFar78 closed 1 month ago

TiagoFar78 commented 1 month ago

image

this.ranked variable is not being used to decide if the rating should be updated or not.

Another thing: shouldn't this variable be named isRanked instead since it is a boolean?

MarcPG1905 commented 1 month ago

Didn't notice that, but thanks for pointing out and I like to name my booleans without the is, but I can add an is, if you want. I don't really mind it being there or not being there.