Mercurial > pyntnclick
diff pyntnclick/tests/mad_clicker.py @ 792:bdaffaa8b6bf pyntnclick
Loading and saving! (Plus a bunch of other stuff to make it possible.)
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 27 Jan 2013 12:43:28 +0200 |
parents | 386475464202 |
children |
line wrap: on
line diff
--- a/pyntnclick/tests/mad_clicker.py Sat Jan 26 20:29:58 2013 +0200 +++ b/pyntnclick/tests/mad_clicker.py Sun Jan 27 12:43:28 2013 +0200 @@ -86,7 +86,7 @@ def do_mad_clicker(self): """Implement frantic clicking behaviour""" for scene in self.state.scenes.values(): - self.state.current_scene = scene + self.state.data.set_current_scene(scene.name) for thing in scene.things.values(): for interact_name in thing.interacts: thing._set_interact(interact_name)