Fix log not cleared on log toggle.
This commit is contained in:
@@ -341,6 +341,7 @@ namespace Cryville.Crtr {
|
||||
public void ToggleLogs() {
|
||||
logEntries.Clear();
|
||||
logsLength = 0;
|
||||
logs.text = "";
|
||||
status.SetText("");
|
||||
logEnabled = !logEnabled;
|
||||
}
|
||||
@@ -470,6 +471,7 @@ namespace Cryville.Crtr {
|
||||
logEntries.Clear();
|
||||
logsLength = 0;
|
||||
Game.MainLogger.Enumerate((level, module, msg) => { });
|
||||
logs.text = "";
|
||||
}
|
||||
Game.AudioSequencer.Playing = true;
|
||||
atime0 = Game.AudioClient.BufferPosition;
|
||||
|
Reference in New Issue
Block a user