Yellow cup bug

Started by CaptainD, Thu 07/12/2017 13:26:09

Previous topic - Next topic

CaptainD

I've just noticed that whenever you do a search, the Community Rating always shows only one yellow cup.  When you go into the game page it shows the correct number of cups.

The blue cup rating appears to okay, and the yellow cup issue appears, as far as I can tell, to affect every game in the database.
 

AGA

It's supposed to be goldy, not yellow!  The logic that was being used was always dividing the rating by 100, with an incorrect starting value of one cup.  I've changed it to divide by 20, and start with zero, so should now work properly.

CaptainD

I'm sorry I said "Yellow" not "Gold" :-[ :-D

Thanks for fixing it.
 

Stupot

I always thought it was orange. To match the colour scheme with the orange text.

Gurok

I think we can all agree that the other cups are blue and black though, right?
[img]http://7d4iqnx.gif;rWRLUuw.gi

AGA

According to the Internet the colour is identified as "light brilliant orange(brown)".  I always thought of it as gold since gold represents quality better than a random orange...  But I am mildly colour blind, so I guess I missaw the colour!

SMF spam blocked by CleanTalk