void WatchReplay() { if (selectedReplay != null && ReplayUtils.PromptConfirmReplayCompatibility(selectedReplay)) { cancelLoadingReplays = true; Game.JoinReplay(selectedReplay.FilePath); } }
void WatchReplay() { if (selectedReplay != null && ReplayUtils.PromptConfirmReplayCompatibility(selectedReplay)) { cancelLoadingReplays = true; DiscordService.UpdateStatus(DiscordState.WatchingReplay); Game.JoinReplay(selectedReplay.FilePath); } }
void WatchReplay() { Action startReplay = () => { Game.JoinReplay(selectedReplay.FilePath); Ui.CloseWindow(); onStart(); }; if (selectedReplay != null && ReplayUtils.PromptConfirmReplayCompatibility(selectedReplay)) { startReplay(); } }