From c651f733a78bd4dfb2ca661a743e792163d04574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 8 Feb 2026 11:15:14 +0100 Subject: [PATCH] Write to error output stream. --- OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertMapCommand.cs | 2 +- OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnMapCommand.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertMapCommand.cs b/OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertMapCommand.cs index 51feea9c12..d2f564a317 100644 --- a/OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertMapCommand.cs +++ b/OpenRA.Mods.Cnc/UtilityCommands/ImportRedAlertMapCommand.cs @@ -35,7 +35,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands public override void ValidateMapFormat(int format) { if (format < 2) - Console.WriteLine($"ERROR: Detected NewINIFormat {format}. Are you trying to import a Tiberian Dawn map?"); + Console.Error.WriteLine($"Detected NewINIFormat {format}. Are you trying to import a Tiberian Dawn map?"); } // Mapping from RA95 overlay index to type string diff --git a/OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnMapCommand.cs b/OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnMapCommand.cs index b4fbd64219..dc1675093c 100644 --- a/OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnMapCommand.cs +++ b/OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnMapCommand.cs @@ -33,7 +33,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands public override void ValidateMapFormat(int format) { if (format > 1) - Console.WriteLine($"ERROR: Detected NewINIFormat {format}. Are you trying to import a Red Alert map?"); + Console.Error.WriteLine($"Detected NewINIFormat {format}. Are you trying to import a Red Alert map?"); } static readonly FrozenDictionary OverlayResourceMapping = new Dictionary