From fd3e38f818d1cf29fb71820afa0a65e61a875a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Sat, 6 Jan 2018 21:18:09 +0100 Subject: Remove gameextrainfo Steam API does not provide this anymore. We now fetch the gamelist ourself and use gameid. --- templates/lobby_html.jinja | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/lobby_html.jinja') diff --git a/templates/lobby_html.jinja b/templates/lobby_html.jinja index 54d5037..a9598bc 100644 --- a/templates/lobby_html.jinja +++ b/templates/lobby_html.jinja @@ -40,7 +40,7 @@
{# Ingame (Steam), Ingame (Nonsteam), Offline/Other #} {% if profile['gameid'] %} - {{ profile['gameextrainfo'] or 'N/A' }} + {{ gamelist[profile['gameid']] or 'N/A' }} {% if profile['gameserverip'] not in serverinfo %} {# No serverinfo -> Display game logo #} @@ -60,7 +60,7 @@ {% set mapname = serverinfo[profile['gameserverip']]['map'] %} {% set players = serverinfo[profile['gameserverip']]['players'] %} {% set playersmax = serverinfo[profile['gameserverip']]['playersmax'] %} - {% if game != profile['gameextrainfo'] %} + {% if game != gamelist[profile['gameid']] %} {{ game }}
{% endif %} {{ servername }}
@@ -72,8 +72,8 @@
Copy link
{% endif %} - {% elif profile['gameextrainfo'] %} - {{ profile['gameextrainfo'] }}
+ {% elif gamelist[profile['gameid']] %} + {{ gamelist[profile['gameid']] }}
(non-steam) {% else %} {% if profile['personastate'] == 0 %} -- cgit v1.2.3