Skip to content

Commit

Permalink
Added Custom Help support
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkhist authored May 13, 2017
1 parent 07bb53c commit 7622969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pathfinder/Command/Help.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ");
Expand Down

0 comments on commit 7622969

Please sign in to comment.