mabicro 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mabicro.rb +5 -1
  2. metadata +1 -1
data/lib/mabicro.rb CHANGED
@@ -19,7 +19,11 @@ LEFT = 1
19
19
  RIGHT = 2
20
20
 
21
21
  def imageSearch(x1,y1, x2,y2, image, acc=0)
22
- $imageSearch.call(x1,y1, x2,y2, image, acc)
22
+ if $imageSearch.call(x1,y1, x2,y2, image, acc) == 1
23
+ return true
24
+ else
25
+ return false
26
+ end
23
27
  end
24
28
  def searchedX
25
29
  $getSearchedX.call
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mabicro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: