Bump scene document version and clear pressed keys in runtime host
This commit is contained in:
@@ -28,7 +28,8 @@ import {
|
||||
type ProjectDialogueLibrary
|
||||
} from "../dialogues/project-dialogues";
|
||||
|
||||
export const SCENE_DOCUMENT_VERSION = 51 as const;
|
||||
export const SCENE_DOCUMENT_VERSION = 52 as const;
|
||||
export const PLAYER_START_PAUSE_BINDINGS_SCENE_DOCUMENT_VERSION = 52 as const;
|
||||
export const NPC_DIALOGUE_REFERENCE_SCENE_DOCUMENT_VERSION = 51 as const;
|
||||
export const PROJECT_DIALOGUE_LIBRARY_SCENE_DOCUMENT_VERSION = 50 as const;
|
||||
export const SCHEDULER_ACTOR_ROUTINE_EFFECTS_SCENE_DOCUMENT_VERSION = 49 as const;
|
||||
|
||||
@@ -526,6 +526,7 @@ export class RuntimeHost {
|
||||
this.manualPauseActive = false;
|
||||
this.controlPauseActive = false;
|
||||
this.previousPauseInputActive = false;
|
||||
this.pressedKeys.clear();
|
||||
this.publishRuntimePauseState(true);
|
||||
this.currentPlayerControllerTelemetry = null;
|
||||
this.currentPlayerAudioHooks = null;
|
||||
@@ -727,6 +728,7 @@ export class RuntimeHost {
|
||||
this.manualPauseActive = false;
|
||||
this.controlPauseActive = false;
|
||||
this.previousPauseInputActive = false;
|
||||
this.pressedKeys.clear();
|
||||
this.publishRuntimePauseState(true);
|
||||
if (this.renderer !== null) {
|
||||
this.renderer.autoClear = true;
|
||||
|
||||
Reference in New Issue
Block a user