fix world state not updating on new initial scene load

This commit is contained in:
vegu-ai-tools 2025-05-04 13:34:57 +03:00
parent b0db25d612
commit 5777611263

View file

@ -1989,6 +1989,7 @@ class Scene(Emitter):
if init: if init:
await self._game_startup() await self._game_startup()
await self.emit_history() await self.emit_history()
await self.world_state.request_update(initial_only=True)
self.nodegraph_state = state = GraphState() self.nodegraph_state = state = GraphState()
state.data["continue_scene"] = True state.data["continue_scene"] = True