Skip to content

Commit

Permalink
fixed grids
Browse files Browse the repository at this point in the history
  • Loading branch information
synkarius committed Jul 2, 2015
1 parent 372d4ea commit 16d2d65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions caster/apps/grid/douglasgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@


def kill():
control.nexus().get_com("grids").kill()
control.nexus().comm.get_com("grids").kill()

def send_input(n, n2, action):
s = control.nexus().get_com("grids")
s = control.nexus().comm.get_com("grids")
s.move_mouse(int(n), int(n2))
s.kill()
grids.wait_for_death(settings.DOUGLAS_TITLE)
Expand Down
4 changes: 2 additions & 2 deletions caster/apps/grid/legiongrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
from caster.lib.dfplus.state.short import R

def kill():
control.nexus().get_com("grids").kill()
control.nexus().comm.get_com("grids").kill()

def send_input(n, action):
s = control.nexus().get_com("grids")
s = control.nexus().comm.get_com("grids")

int_a = int(action)
response = None
Expand Down
4 changes: 2 additions & 2 deletions caster/apps/grid/rainbowgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
from caster.lib.dfplus.state.short import R

def kill():
control.nexus().get_com("grids").kill()
control.nexus().comm.get_com("grids").kill()

def send_input(pre, color, n, action):
s=control.nexus().get_com("grids")
s=control.nexus().comm.get_com("grids")
s.move_mouse(int(pre), int(color), int(n))
s.kill()
grids.wait_for_death(settings.RAINBOW_TITLE)
Expand Down

0 comments on commit 16d2d65

Please sign in to comment.