Skip to content

Commit

Permalink
Update console command used for watching replay
Browse files Browse the repository at this point in the history
  • Loading branch information
SlidyBat committed Jan 10, 2025
1 parent 2fc695b commit 361bea5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/pages/end-of-run/end-of-run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 361bea5

Please sign in to comment.