summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2018-03-27 19:35:12 +0200
committerAndré Glüpker <git@wgmd.de>2018-03-27 19:35:12 +0200
commit53b1e14cc7287a971f48ba831568fd7c3910b059 (patch)
tree232a7d9d132c9a465d5f42a62abc5beba477d002 /templates
parent86549d09b8abdbcae7c2c6cd7110415472c231ca (diff)
downloadsteam-53b1e14cc7287a971f48ba831568fd7c3910b059.tar.gz
steam-53b1e14cc7287a971f48ba831568fd7c3910b059.tar.bz2
steam-53b1e14cc7287a971f48ba831568fd7c3910b059.zip
Use gameextrainfo as gamename, if not yet in list
Far Cry 5 on release was not yet in our gamename cache, but gameextrainfo was set correctly.
Diffstat (limited to 'templates')
-rw-r--r--templates/lobby_html.jinja2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/lobby_html.jinja b/templates/lobby_html.jinja
index 7c9e91b..ae0000e 100644
--- a/templates/lobby_html.jinja
+++ b/templates/lobby_html.jinja
@@ -41,7 +41,7 @@
<div class="interna stats">
{# Ingame (Steam), Ingame (Nonsteam), Offline/Other #}
{% if profile['gameid'] %}
- <span class="ingame"><a href="http://store.steampowered.com/app/{{ profile['gameid'] }}" class="ingame">{{ gamelist[profile['gameid']] or 'N/A' }}
+ <span class="ingame"><a href="http://store.steampowered.com/app/{{ profile['gameid'] }}" class="ingame">{{ gamelist[profile['gameid']] or profile['gameextrainfo'] or 'N/A' }}
{% if profile['gameserverip'] not in serverinfo %}
{# No serverinfo -> Display game logo #}
<img src="http://cdn.akamai.steamstatic.com/steam/apps/{{ profile['gameid'] }}/header.jpg" class="gameimage" />