Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit c35c841

Browse files
committed
adding missing radix parameter
1 parent 4f5df5e commit c35c841

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mods/tier.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ idrinth.tier = {
241241
* @returns {Boolean}
242242
*/
243243
var isOs = function ( os, current ) {
244-
return Number.parseInt ( os ) === Number.parseInt ( current );
244+
return Number.parseInt ( os, 10 ) === Number.parseInt ( current, 10 );
245245
};
246246
if (
247247
!idrinth.tier.list[listKey].hasOwnProperty ( difficulty ) ||

0 commit comments

Comments
 (0)