Skip to content

Commit

Permalink
Fixed released filter
Browse files Browse the repository at this point in the history
  • Loading branch information
rrgeorge committed Aug 2, 2021
1 parent 8c71cff commit 2718b1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ddb.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ class DDB {
const response = await this.getRequest(`${url}?${params}`,true).catch((e)=>console.log(`Error getting monster count for source id ${source}: ${e}`))
console.log(`Retrieved ${response.data.length}`)
for (const monster of response.data) {
if (!monster.isReleased&&monster.isHomebrew!==homebrew) {
if (!monster.isReleased&&!monster.isHomebrew) {
prog.value += (!filename)? (15*(1/count)) : 1
console.log(`Skipping ${monster.isReleased} ${monster.isHomebrew}`)
continue
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EncounterLog",
"version": "2.0.2",
"version": "2.0.3",
"description": "Connect D&D Beyond to EncounterPlus",
"repository": {
"type": "git",
Expand Down

0 comments on commit 2718b1a

Please sign in to comment.