mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Merge pull request #2726 from SagePtr/recheck-achievements
Force achievements recalculation on bitnode completion
This commit is contained in:
commit
3654a238ae
@ -72,6 +72,7 @@ import { LogBoxManager } from "./React/LogBoxManager";
|
|||||||
import { AlertManager } from "./React/AlertManager";
|
import { AlertManager } from "./React/AlertManager";
|
||||||
import { PromptManager } from "./React/PromptManager";
|
import { PromptManager } from "./React/PromptManager";
|
||||||
import { InvitationModal } from "../Faction/ui/InvitationModal";
|
import { InvitationModal } from "../Faction/ui/InvitationModal";
|
||||||
|
import { calculateAchievements } from "../Achievements/Achievements";
|
||||||
|
|
||||||
import { enterBitNode } from "../RedPill";
|
import { enterBitNode } from "../RedPill";
|
||||||
import { Context } from "./Context";
|
import { Context } from "./Context";
|
||||||
@ -290,6 +291,7 @@ export function GameRoot({ player, engine, terminal }: IProps): React.ReactEleme
|
|||||||
toBitVerse: (flume: boolean, quick: boolean) => {
|
toBitVerse: (flume: boolean, quick: boolean) => {
|
||||||
setFlume(flume);
|
setFlume(flume);
|
||||||
setQuick(quick);
|
setQuick(quick);
|
||||||
|
calculateAchievements();
|
||||||
setPage(Page.BitVerse);
|
setPage(Page.BitVerse);
|
||||||
},
|
},
|
||||||
toInfiltration: (location: Location) => {
|
toInfiltration: (location: Location) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user