From 9063e44f9bec74c9e214b03657cea669bdd006fa Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 18 Sep 2016 11:24:32 +0100 Subject: [PATCH] Improve error message. --- OpenRA.Mods.Common/Widgets/Logic/ReplayUtils.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/ReplayUtils.cs b/OpenRA.Mods.Common/Widgets/Logic/ReplayUtils.cs index 7df19548ef..bdcf8ca339 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/ReplayUtils.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/ReplayUtils.cs @@ -24,7 +24,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic onCancel = DoNothing; if (replayMeta == null) - return IncompatibleReplayDialog("outdated engine", null, onCancel); + { + ConfirmationDialogs.ButtonPrompt("Incompatible Replay", "Replay metadata could not be read.", onCancel: onCancel); + return false; + } var version = replayMeta.GameInfo.Version; if (version == null)