Skip to content

Commit

Permalink
WIP: fix the sim rerun bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Oct 14, 2024
1 parent bfd2460 commit a0e1227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/sims/processors/sim_processors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export abstract class BaseMultiCycleSim<ResultType extends CycleSimResult, Inter
async simulate(set: CharacterGearSet): Promise<FullResultType> {
console.debug("Sim start");
const setSpeed = set.isStatRelevant('spellspeed') ? set.computedStats.spellspeed : set.computedStats.skillspeed;
if (setSpeed != this.cachedSpeed) {
if (true || setSpeed != this.cachedSpeed) {

Check failure on line 188 in packages/core/src/sims/processors/sim_processors.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected constant condition

Check failure on line 188 in packages/core/src/sims/processors/sim_processors.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected constant truthiness on the left-hand side of a `||` expression
this.cachedCycleProcessors = this.generateRotations(set);
this.cachedSpeed = setSpeed;
}
Expand Down

0 comments on commit a0e1227

Please sign in to comment.