diff --git a/Pathfinder/Command/Help.cs b/Pathfinder/Command/Help.cs index 25b4b83f..5315385d 100644 --- a/Pathfinder/Command/Help.cs +++ b/Pathfinder/Command/Help.cs @@ -32,7 +32,7 @@ public static string GetPageString(int page = 0) sb.Append(Helpfile.prefix.Replace("[PAGENUM]", page.ToString()).Replace("[TOTALPAGES]", PageCount.ToString())); int count = num; var enumer = help.GetEnumerator(); - while (count < Helpfile.help.Count && count < num + Helpfile.ITEMS_PER_PAGE) + while (count < Helpfile.help.Count + help.count && count < num + Helpfile.ITEMS_PER_PAGE) { if (count < Helpfile.help.Count) sb.Append((count == 0 ? " " : "") + Helpfile.help[count] + "\n \n ");