This commit is contained in:
@@ -8,8 +8,8 @@ import {
|
||||
putSaveSnapshot,
|
||||
} from '../services/storageService';
|
||||
import type { GameState, StoryMoment } from '../types';
|
||||
import type { BottomTab } from './useGameFlow';
|
||||
import { resumeServerRuntimeStory } from './story/runtimeStoryCoordinator';
|
||||
import type { BottomTab } from './useGameFlow';
|
||||
|
||||
const AUTO_SAVE_DELAY_MS = 400;
|
||||
|
||||
@@ -296,6 +296,7 @@ export function useGamePersistence({
|
||||
|
||||
return {
|
||||
hasSavedGame,
|
||||
savedSnapshot,
|
||||
isHydratingSnapshot,
|
||||
isPersistingSnapshot,
|
||||
persistenceError,
|
||||
|
||||
@@ -158,6 +158,7 @@ export function useGameShellRuntime(): GameShellProps {
|
||||
},
|
||||
entry: {
|
||||
hasSavedGame: persistence.hasSavedGame,
|
||||
savedSnapshot: persistence.savedSnapshot,
|
||||
handleContinueGame,
|
||||
handleStartNewGame,
|
||||
handleSaveAndExit,
|
||||
|
||||
Reference in New Issue
Block a user