From b86efbc3c24942259a127ce10fb89718afbdad98 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 5 Jan 2014 03:17:42 +0000 Subject: [PATCH] return the correct lastly played game --- modules/steam/steam.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/steam/steam.js b/modules/steam/steam.js index 44a64cb..4ce6dc8 100644 --- a/modules/steam/steam.js +++ b/modules/steam/steam.js @@ -166,7 +166,7 @@ var steam = function(dbot) { if(games.total_count != 0) { event.reply(dbot.t('steam_last_played', { 'user': user.currentNick, - 'game': games.games[0].name + 'game': _.last(games.games).name })); } else { event.reply(dbot.t('steam_not_played', {