Преглед на файлове

Tweak upper bound of the developer console

Bepis преди 7 години
родител
ревизия
2c80d19bd9
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      Plugins/DeveloperConsole/DeveloperConsole.cs

+ 2 - 2
Plugins/DeveloperConsole/DeveloperConsole.cs

@@ -23,9 +23,9 @@ namespace DeveloperConsole
             Chainloader.EntryLogged += (log, show) =>
             {
                 string current = $"{TotalLog}\r\n{log}";
-                if (current.Length > 400)
+                if (current.Length > 2000)
                 {
-                    current = current.Remove(0, 200);
+                    current = current.Remove(0, 1000);
                 }
                 TotalLog = current;