Skip to content

Commit

Permalink
Also set the Steam ID when automatically resolving it
Browse files Browse the repository at this point in the history
  • Loading branch information
koraktor committed Aug 8, 2015
1 parent e434778 commit dd780d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/steam-condenser/community/steam_id.rb
Expand Up @@ -483,7 +483,7 @@ def recent_playtime(app_id)
# @return [Fixnum] This user's 64bit SteamID
# @see .resolve_vanity_url
def steam_id64
@steam_id64 || self.class.resolve_vanity_url(@custom_url)
@steam_id64 ||= self.class.resolve_vanity_url(@custom_url)
end

# Returns the current Steam level of this user
Expand Down

0 comments on commit dd780d3

Please sign in to comment.