Update Healer Man server
This commit is contained in:
1 parent
bd073fb00f
commit
83eac6d476
15 files changed
+438
-272
No files matched your search
+1
-1
@@ -115,7 +115,7 @@ export default function GameRuntime() {
|
||||
const dungeonSimulation = useDungeonSimulationStore((state) => state.sessionMode !== "play");
|
||||
useEffect(() => () => {
|
||||
const race = useDungeonRaceStore.getState();
|
||||
if (race.inGame && ["preparing", "countdown", "active"].includes(race.status)) void race.leave();
|
||||
if (race.inGame && useShellStore.getState().phase !== "game") void race.leave();
|
||||
const activeDungeon = requireDungeonDefinition(useGameStore.getState().activeDungeonId);
|
||||
clearDungeonRuntimeCaches();
|
||||
releaseDungeonGltfCache(activeDungeon);
|
||||
|
||||
Reference in new issue
Block a user