Release Healer Man 0.1.12

This commit is contained in:
phenom committed 2026-09-01 14:35:56 -04:00
1 parent 13970d03c8
commit 65e24f644e
201 files changed
+5061 -123

No files matched your search

+4
View File
@@ -54,6 +54,7 @@ import {
refreshOnlineSession,
} from "./onlineAccountClient";
import { isGameMasterSession } from "../game/manastormAdminConfig";
import { useGameStore } from "../game/store";
export interface ShellState {
phase: ShellPhase;
@@ -164,6 +165,7 @@ export const useShellStore = create<ShellState>((set, get) => ({
});
},
signOut: () => {
useGameStore.setState({ activeGmReviewTarget: null, gmTestMode: false });
const session = get().session;
void logoutOnlineSession(session);
clearSession();
@@ -352,6 +354,7 @@ export const useShellStore = create<ShellState>((set, get) => ({
return true;
},
returnToMainMenu: () => {
useGameStore.setState({ activeGmReviewTarget: null, gmTestMode: false });
manastormShellRuntime()?.leaveActiveGame();
const { session, characters, activeCharacter, selectedCharacterId } = get();
if (!session) {
@@ -381,6 +384,7 @@ export const useShellStore = create<ShellState>((set, get) => ({
failActiveManastorm: () => manastormShellRuntime()?.failRun(),
enterWorld: () => get().enterDungeon(DEFAULT_DUNGEON_ID),
returnToCharacters: () => {
useGameStore.setState({ activeGmReviewTarget: null, gmTestMode: false });
const session = get().session;
if (!session) {
set({ phase: "login", activeCharacter: null });