Write to error output stream.

This commit is contained in:
Matthias Mailänder
2026-02-08 11:15:14 +01:00
committed by Gustas Kažukauskas
parent 4a04f8df83
commit c651f733a7
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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<string, (byte Type, byte Index)> OverlayResourceMapping = new Dictionary<string, (byte Type, byte Index)>