Skip to content

Commit

Permalink
Merge pull request Zorn192#53 from DexirianPrime/gh-pages
Browse files Browse the repository at this point in the history
Added all needed repeatUntil set to 0 for every P Raid instance
Zorn192 authored Apr 29, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 44ad702 + 0b67a75 commit 01eddd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/other.js
Original file line number Diff line number Diff line change
@@ -66,6 +66,7 @@ function Praiding() {
else if ((updateMapCost(true) > game.resources.fragments.owned)) {
if (getPageSetting('AutoMaps') == 0 && !prestraid) {
autoTrimpSettings["AutoMaps"].value = 1;
game.options.menu.repeatUntil.enabled = 0;
failpraid = true;
prestraidon = false;
mapbought = false;
@@ -93,6 +94,7 @@ function Praiding() {
praidDone = true;
prestraidon = false;
autoTrimpSettings["AutoMaps"].value = 1;
game.options.menu.repeatUntil.enabled = 0;
debug("Prestige raiding successful! - recycling Praid map");
recycleMap(getMapIndex(pMap));
debug("Turning AutoMaps back on");
@@ -227,6 +229,7 @@ function PraidHarder() {
else {
debug("Turning AutoMaps back on");
autoTrimpSettings['AutoMaps'].value = 1;
game.options.menu.repeatUntil.enabled = 0;
}
return;
}

0 comments on commit 01eddd2

Please sign in to comment.