Skip to content

Commit

Permalink
Fix color error message
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0ade committed Mar 19, 2018
1 parent 1fd607a commit a9a9940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RainbowMod/RainbowModuleSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public string FoxColorLightHex {
try {
FoxColorLight = Calc.HexToColor(value);
} catch (Exception e) {
Logger.Log(LogLevel.Warn, "rainbowmod", "Invalid FoxColorDark!");
Logger.Log(LogLevel.Warn, "rainbowmod", "Invalid FoxColorLight!");
e.LogDetailed();
}
}
Expand All @@ -45,7 +45,7 @@ public string FoxColorLightHex {
[SettingIgnore]
public string FoxColorDarkHex {
get {
return FoxColorLight.R.ToString("X2") + FoxColorLight.G.ToString("X2") + FoxColorLight.B.ToString("X2");
return FoxColorDark.R.ToString("X2") + FoxColorDark.G.ToString("X2") + FoxColorDark.B.ToString("X2");
}
set {
if (string.IsNullOrEmpty(value))
Expand Down

0 comments on commit a9a9940

Please sign in to comment.