Skip to content

Commit

Permalink
Not sure what was I thinking with condition of id not ending with 0, …
Browse files Browse the repository at this point in the history
…but it's removed now, since it's unnecessary.
  • Loading branch information
Matriks404 committed Jan 27, 2024
1 parent 4d09fbf commit aa80316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function loadEntries(entries, el, entriesName, hasUnknownIds) {
if (id.includes(':')) {
var basicEntryId = id.substr(0, id.indexOf(':'));

if (!id.endsWith('0') || entries[basicEntryId + ':1']) {
if (entries[basicEntryId + ':1']) {
var damageValue = id.substr(id.indexOf(':') + 1);
idString = id
}
Expand Down

0 comments on commit aa80316

Please sign in to comment.