Skip to content

Commit

Permalink
Possible speedup for WH Use
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkVabulas committed Jun 19, 2015
1 parent 7fe7ad1 commit 4a1b8ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoPlay.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
var autoRefreshSecondsCheckLoadedDelay = 30;

// DO NOT MODIFY
var wormHoleConstantUse = false;
var isAlreadyRunning = false;
var refreshTimer = null;
var currentClickRate = enableAutoClicker ? clickRate : 0;
Expand Down Expand Up @@ -1344,7 +1345,7 @@
function useWormholeIfRelevant() {
// Check the time before using wormhole.
var level = getGameLevel();
if (level % control.rainingRounds !== 0) {
if (level % control.rainingRounds !== 0 && !wormHoleConstantUse) {
return;
}

Expand Down

0 comments on commit 4a1b8ec

Please sign in to comment.