Skip to content

Commit

Permalink
fix a crash with navigate
Browse files Browse the repository at this point in the history
  • Loading branch information
eckserah committed Sep 19, 2018
1 parent 4c95bfd commit 5ee41c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion msl-bot/bin/_src/scripts/sub/navigate.au3
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ Func navigate($sLocation, $bForceSurrender = False, $iAttempt = 1)
While TimerDiff($t_hTimer) < 30000
Switch getLocation()
Case "battle-auto"
If isPixel(getPixelArgs("battle-catch-available"), 10) = False Then
If isPixel(getArg($g_aPixels,"battle-catch-available"), 10) = False Then
clickPoint(getArg($g_aPoints, "battle-auto"))
Else
clickPoint(getArg($g_aPoints, "battle-catch"))
Expand Down
6 changes: 3 additions & 3 deletions msl-bot/msl-bot.au3
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Global $aVersion = [4, 0, 4] ;Major, Minor, Build
Global $aVersion = [4, 0, 5] ;Major, Minor, Build

#pragma compile(Out, "msl-bot.exe")
#pragma compile(Icon, "bin\_src\msl-bot.ico")
Expand All @@ -7,8 +7,8 @@ Global $aVersion = [4, 0, 4] ;Major, Minor, Build
#pragma compile(ProductName, "Monster Super League Bot")
#pragma compile(FileDescription, "Open-sourced Monster Super League Bot - https://github.com/GkevinOD/msl-bot")
#pragma compile(LegalCopyright, "Copyright (C) Kevin Quito")
#pragma compile(FileVersion, 4.0.4)
#pragma compile(ProductVersion, 4.0.4)
#pragma compile(FileVersion, 4.0.5)
#pragma compile(ProductVersion, 4.0.5)
#pragma compile(OriginalFilename, "msl-bot.exe")

#include-once
Expand Down

0 comments on commit 5ee41c8

Please sign in to comment.