Integrate unfinished server-rs refactor worklists
This commit is contained in:
@@ -40,7 +40,7 @@ export function useStoryInventoryActions({
|
||||
} = runtime;
|
||||
const [serverInventoryView, setServerInventoryView] =
|
||||
useState<RuntimeStoryInventoryView | null>(null);
|
||||
const runtimeSessionId = gameState.runtimeSessionId;
|
||||
const storySessionId = gameState.storySessionId;
|
||||
const runtimeActionVersion = gameState.runtimeActionVersion;
|
||||
const currentScene = gameState.currentScene;
|
||||
const hasPlayerCharacter = Boolean(gameState.playerCharacter);
|
||||
@@ -56,7 +56,7 @@ export function useStoryInventoryActions({
|
||||
void loadRpgRuntimeInventoryView(
|
||||
{
|
||||
gameState: {
|
||||
runtimeSessionId,
|
||||
storySessionId,
|
||||
runtimeActionVersion,
|
||||
},
|
||||
},
|
||||
@@ -80,7 +80,7 @@ export function useStoryInventoryActions({
|
||||
currentScene,
|
||||
hasPlayerCharacter,
|
||||
runtimeActionVersion,
|
||||
runtimeSessionId,
|
||||
storySessionId,
|
||||
setAiError,
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user