Fix wrong projected RM in some cases (fixes #3274)

This commit is contained in:
SpectralFlame 2023-04-28 22:46:51 -05:00 committed by cyip92
parent a6811c59bf
commit 43d215cde0

View File

@ -90,7 +90,8 @@ export default {
}
const multiplier = simulatedRealityCount(false) + 1;
this.projectedRM = MachineHandler.gainedRealityMachines.times(multiplier);
this.projectedRM = MachineHandler.gainedRealityMachines.times(multiplier)
.clampMax(MachineHandler.hardcapRM);
this.newIMCap = MachineHandler.projectedIMCap;
this.machinesGained = this.projectedRM.clampMax(MachineHandler.distanceToRMCap);
this.realityTime = Time.thisRealityRealTime.totalMinutes;