Skip to content

Commit

Permalink
Fixed a state issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
rembound committed Jun 6, 2015
1 parent e3bd9bd commit e487f8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public string Author

public Version Version
{
get { return new Version("0.1.1"); }
get { return new Version("0.1.2"); }
}

public MenuItem MenuItem
Expand Down Expand Up @@ -551,6 +551,7 @@ private void NewArena()

// Init state
SetState(PluginState.SearchHeroes);
prevstate = state;
}

private void ClearDetected()
Expand Down Expand Up @@ -603,7 +604,7 @@ public void OnUpdate()
var hsrect = Helper.GetHearthstoneRect(false);
if (hsrect.Width > 0 && hsrect.Height > 0)
{
fullcapture = Helper.CaptureHearthstone(new Point(0, 0), hsrect.Width, hsrect.Height, default(IntPtr), false);
fullcapture = Helper.CaptureHearthstone(new Point(0, 0), hsrect.Width, hsrect.Height, default(IntPtr), true);
}
else
{
Expand Down

0 comments on commit e487f8f

Please sign in to comment.