Update Healer Man server
This commit is contained in:
1 parent
bd073fb00f
commit
83eac6d476
15 files changed
+438
-272
No files matched your search
@@ -11,6 +11,7 @@ import { specializationById, specializationIconUrl } from "../game/specializatio
|
||||
import { dungeonBossCards } from "../game/dungeonBossCards";
|
||||
import { requireDungeonDefinition } from "../game/dungeonRegistry";
|
||||
import { DungeonBossCards } from "./DungeonBossCards";
|
||||
import { useDungeonRaceStore } from "../app/dungeonRaceStore";
|
||||
|
||||
function PauseDialog() {
|
||||
const closeOverlay = useGameStore((state) => state.closeOverlay);
|
||||
@@ -31,9 +32,14 @@ function PauseDialog() {
|
||||
closeOverlay();
|
||||
};
|
||||
const returnToEntrance = () => {
|
||||
if (useDungeonRaceStore.getState().inGame) {
|
||||
void useDungeonRaceStore.getState().leave();
|
||||
useGameStore.setState({ raceStartBlocked: false });
|
||||
}
|
||||
reset();
|
||||
};
|
||||
const leaveDungeon = () => {
|
||||
if (useDungeonRaceStore.getState().inGame) void useDungeonRaceStore.getState().leave();
|
||||
closeOverlay();
|
||||
returnToMainMenu();
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user