Fix a bug when console cleans up
This commit is contained in:
parent
2854a093fc
commit
674c43f2df
@ -149,7 +149,7 @@ namespace Cyber.Console {
|
|||||||
string NewLog = "";
|
string NewLog = "";
|
||||||
Lines.RemoveRange(0, Lines.Count - LineCountSavedFromCleanup);
|
Lines.RemoveRange(0, Lines.Count - LineCountSavedFromCleanup);
|
||||||
foreach (string Line in Lines) {
|
foreach (string Line in Lines) {
|
||||||
NewLog += Line;
|
NewLog += Line + "\n";
|
||||||
}
|
}
|
||||||
TextField.text = NewLog;
|
TextField.text = NewLog;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user