Browse Source

Fix bug with wrong variable name in Hero.cr

master
Andrew Zah 1 year ago
parent
commit
6d8febf371
Signed by: andrei <zah@andrewzah.com> GPG Key ID: 0AE942445EB70FAA
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/dota/api/hero.cr

+ 1
- 1
src/dota/api/hero.cr View File

@@ -29,7 +29,7 @@ module Dota
# :sb - small horizontal portrait (59x33px, PNG)
# :vert - full quality vertical portrait (234x272px, JPEG)

"http://cdn.dota2.com/apps/dota2/images/heroes/#{@internal_name}_#{type}.#{type == :vert ? "jpg" : "png"}"
"http://cdn.dota2.com/apps/dota2/images/heroes/#{@internalName}_#{type}.#{type == :vert ? "jpg" : "png"}"
end
end
end

Loading…
Cancel
Save