Skip to content

Commit

Permalink
Fixed Time Digits
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas ICHÉ committed Feb 13, 2019
1 parent 85e784e commit f1ea36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Console/Script/Console.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public static void Log(string Command, string Message, LogType type = LogType.Lo
string[] lines = Message.Split('\n');

foreach(string line in lines)
s_ConsoleData.lines.Add("<color=gray>[" + Time.unscaledTime + "]</color> " + prepend +line);
s_ConsoleData.lines.Add("<color=gray>[" + Time.unscaledTime.ToString("F3") + "]</color> " + prepend +line);

if (s_ConsoleData.OnLogUpdated != null)
s_ConsoleData.OnLogUpdated.Invoke();
Expand Down

0 comments on commit f1ea36a

Please sign in to comment.