Improve error message.

This commit is contained in:
Paul Chote
2016-09-18 11:24:32 +01:00
parent 099492a52f
commit 9063e44f9b

View File

@@ -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)