Browse Source

Fix bug with wrong variable name in Hero.cr

master
Andrew Zah 1 year ago
parent
commit
6d8febf371
Signed by: Andrew Zah <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
29 29
         # :sb - small horizontal portrait (59x33px, PNG)
30 30
         # :vert - full quality vertical portrait (234x272px, JPEG)
31 31
 
32
-        "http://cdn.dota2.com/apps/dota2/images/heroes/#{@internal_name}_#{type}.#{type == :vert ? "jpg" : "png"}"
32
+        "http://cdn.dota2.com/apps/dota2/images/heroes/#{@internalName}_#{type}.#{type == :vert ? "jpg" : "png"}"
33 33
       end
34 34
     end
35 35
   end

Loading…
Cancel
Save