diff options
Diffstat (limited to 'src/lib/utils.js')
| -rw-r--r-- | src/lib/utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils.js b/src/lib/utils.js index 82d5b9cf..5ffc24e2 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -10,8 +10,8 @@ export function scroll(section) { } const base = browser ? '' : PUBLIC_COINOS_URL; -export const runner = (k) => { - return Math.ceil((parseInt(k.substr(0, 2), 16) / 256) * 20) + '.webp'; +export const punk = (k) => { + return Math.floor((parseInt(k.substr(0, 2), 16) / 256) * 20) + 1 + '.webp'; }; export const g = (url, fetch, headers) => |
