mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-12 23:23:20 +00:00
Fixed auto eternity while in EC
This commit is contained in:
parent
9edacae702
commit
e4e207a5e7
@ -72,8 +72,10 @@ Autobuyer.eternity = new class EternityAutobuyerState extends AutobuyerState {
|
||||
}
|
||||
|
||||
get willEternity() {
|
||||
// We Eternity asap if we're in an Eternity Challenge and can't reach more completions.
|
||||
if (EternityChallenge.current?.gainedCompletionStatus.hasMoreCompletions === false) return true;
|
||||
if (EternityChallenge.isRunning) {
|
||||
// We Eternity asap if we're in an Eternity Challenge and can't reach more completions.
|
||||
return EternityChallenge.current?.gainedCompletionStatus.hasMoreCompletions === false;
|
||||
}
|
||||
|
||||
switch (this.mode) {
|
||||
case AUTO_ETERNITY_MODE.AMOUNT:
|
||||
|
Loading…
Reference in New Issue
Block a user