diff --git a/SrcMod/Shell/Modules/BaseModule.cs b/SrcMod/Shell/Modules/BaseModule.cs index 9e18192..653dfbb 100644 --- a/SrcMod/Shell/Modules/BaseModule.cs +++ b/SrcMod/Shell/Modules/BaseModule.cs @@ -194,7 +194,7 @@ public static class BaseModule { List lines = new() { " Timestamp Description"}; int longestName = 0; - for (int i = lines.Count - 1; i >= 0; i--) + for (int i = Program.Shell!.History.Count - 1; i >= 0; i--) { HistoryItem hist = Program.Shell!.History[i]; if (hist.name.Length > longestName) longestName = hist.name.Length; diff --git a/SrcMod/Shell/Shell.cs b/SrcMod/Shell/Shell.cs index a2b7cda..3a90b88 100644 --- a/SrcMod/Shell/Shell.cs +++ b/SrcMod/Shell/Shell.cs @@ -6,7 +6,7 @@ public class Shell { public const string Author = "That_One_Nerd"; public const string Name = "SrcMod"; - public const string Version = "Alpha 0.3.1"; + public const string Version = "Alpha 0.3.2"; public readonly string? ShellDirectory;