File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ module.exports = (function(undefined){
44 function Game ( app ) {
55 this . appId = app . appid ;
66 this . name = app . name ? app . name : undefined ;
7- this . playtimeTwoWeeks = app . playtime_2weeks ? this . convertFromMinutes ( app . playtime_2weeks ) : '0 minutes' ;
7+ this . playtimeTwoWeeks = app . playtime_2weeks ? app . playtime_2weeks : 0 ;
8+ this . playtimeTwoWeeksReadable = app . playtime_2weeks ? this . convertFromMinutes ( app . playtime_2weeks ) : '0 minutes' ;
89 this . playtimeForever = app . playtime_forever ? app . playtime_forever : 0 ;
910 this . playtimeForeverReadable = this . convertFromMinutes ( this . playtimeForever ) ;
1011 this . icon = app . img_icon_url ? this . getImageForGame ( app . appid , app . img_icon_url ) : undefined ;
@@ -49,4 +50,4 @@ module.exports = (function(undefined){
4950 } ;
5051
5152 return Game ;
52- } ) ( ) ;
53+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments