fix ranking up lich when guess is correct and not vice-versa
This commit is contained in:
parent
51057ee3f9
commit
3393c31086
@ -151,7 +151,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
|
||||
} else {
|
||||
const passcode = getNemesisPasscode(inventory.Nemesis!);
|
||||
let RankIncrease: number | undefined;
|
||||
if (passcode[body.position] == body.guess) {
|
||||
if (passcode[body.position] != body.guess) {
|
||||
const manifest = getNemesisManifest(inventory.Nemesis!.manifest);
|
||||
if (inventory.Nemesis!.Rank + 1 < manifest.systemIndexes.length) {
|
||||
inventory.Nemesis!.Rank += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user