Skip to content

Commit

Permalink
fix cain identify sometimes fails and falls back to using tome (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
srliao authored Dec 23, 2024
1 parent 759f8a7 commit 4ecbb0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/action/identify.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ func CainIdentify() error {

// Select the identify option
ctx.HID.KeySequence(win.VK_HOME, win.VK_DOWN, win.VK_RETURN)
utils.Sleep(500)

if len(itemsToIdentify()) > 0 {

// Close the NPC interact menu if it's open
Expand Down

0 comments on commit 4ecbb0e

Please sign in to comment.