Skip to content

Commit

Permalink
Merge pull request JusKillmeQik#95 from magnusvmt/main
Browse files Browse the repository at this point in the history
Fix bug where levels under 10 did not update
  • Loading branch information
JusKillmeQik authored Feb 3, 2022
2 parents a92db16 + 71acb84 commit 7ee33ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/search.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ SearchLog() {
IfInString, newLogLines, %levelUp%
{
levelPos := InStr(newLogLines, levelUp, false)
newLevel := SubStr(newLogLines, levelPos+13, 2)
newLevel := Trim(SubStr(newLogLines, levelPos+13, 2))
newLevel += 0 ; force the string to be an int, clearing any space
nextLevel := newLevel + 1
;So levels stay in order
Expand Down

0 comments on commit 7ee33ef

Please sign in to comment.