From 361bea59d4d9b65b0aa356575ea78e2201a47753 Mon Sep 17 00:00:00 2001 From: SlidyBat <25954912+SlidyBat@users.noreply.github.com> Date: Wed, 8 Jan 2025 00:05:00 +1100 Subject: [PATCH] Update console command used for watching replay --- scripts/pages/end-of-run/end-of-run.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/pages/end-of-run/end-of-run.ts b/scripts/pages/end-of-run/end-of-run.ts index 974d0a20..27d500de 100644 --- a/scripts/pages/end-of-run/end-of-run.ts +++ b/scripts/pages/end-of-run/end-of-run.ts @@ -119,7 +119,11 @@ class EndOfRunHandler { } watchReplay() { - GameInterfaceAPI.ConsoleCommand('mom_replay_play_loaded'); + if (!this.baseRun) { + return; + } + + GameInterfaceAPI.ConsoleCommand(`mom_tv_replay_watch ${this.baseRun.filePath}`); this.hideEndOfRun(false, true); }