Write to error output stream.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
4a04f8df83
commit
c651f733a7
@@ -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
|
||||
|
||||
@@ -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)>
|
||||
|
||||
Reference in New Issue
Block a user