Fixed double negative, maybe the most helpful ever.
[xonotic/xonstat.git] / xonstat / templates / player_game_index.mako
index 9b60e3c..2e67e8c 100644 (file)
@@ -61,7 +61,7 @@ Recent Games
                % if round(g.elo_delta,2) > 0:
                <span title="Elo went up by ${round(g.elo_delta,2)}"><i class="icon-arrow-up icon-white"></i></span>
                % elif round(g.elo_delta,2) < 0:
-               <span title="Elo went down by ${round(g.elo_delta,2)}"><i class="icon-arrow-down icon-white"></i></span>
+               <span title="Elo went down by ${round(-g.elo_delta,2)}"><i class="icon-arrow-down icon-white"></i></span>
                % else:
                <span title="Elo did not change"><i class="icon-minus icon-white"></i></span>
                % endif