Skip to content

Commit

Permalink
Max Tox not disabled mid run anymore
Browse files Browse the repository at this point in the history
Fix for genbtc#178
  • Loading branch information
maurezen authored Nov 9, 2018
1 parent 703435f commit 4ec33c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/portal.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function autoPortal() {
case "Crushed":
case "Nom":
case "Toxicity":
if (getPageSetting('MaxTox'))
if (!game.global.challengeActive && getPageSetting('MaxTox'))
settingChanged("MaxTox");
case "Watch":
case "Lead":
Expand Down

0 comments on commit 4ec33c6

Please sign in to comment.