From 55ea54ff2da91fe9c7488635a313c5cc826a3efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 28 Aug 2016 16:13:17 +0200 Subject: [PATCH] Explain the color notation. --- OpenRA.Mods.Common/Util.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Util.cs b/OpenRA.Mods.Common/Util.cs index 9ecb9dc074..29ea116984 100644 --- a/OpenRA.Mods.Common/Util.cs +++ b/OpenRA.Mods.Common/Util.cs @@ -11,6 +11,7 @@ using System; using System.Collections.Generic; +using System.Drawing; using System.Linq; using OpenRA.GameRules; using OpenRA.Graphics; @@ -238,8 +239,8 @@ namespace OpenRA.Mods.Common if (t == typeof(WVec)) return "3D World Vector"; - if (t == typeof(HSLColor)) - return "Color"; + if (t == typeof(HSLColor) || t == typeof(Color)) + return "Color (RRGGBB[AA] notation)"; return t.Name; }