mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
Force achievements recalculation on bitnode completion
This commit is contained in:
parent
f7d18efaf6
commit
32ba81883f
@ -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";
|
||||||
@ -286,6 +287,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