Mercurial > boomslang
diff gamelib/scenes/cryo.py @ 745:b9504e6ecde1 pyntnclick
Make a couple of interactions less dependent on current_scene, so the 'mad clicker' test works
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Wed, 16 Jan 2013 13:58:02 +0200 |
parents | d6ded808cc33 |
children | 386475464202 |
line wrap: on
line diff
--- a/gamelib/scenes/cryo.py Wed Jan 16 13:57:24 2013 +0200 +++ b/gamelib/scenes/cryo.py Wed Jan 16 13:58:02 2013 +0200 @@ -421,7 +421,7 @@ def interact_without(self): self.game.add_inventory_item('titanium_leg') - self.game.current_scene.things['cryo.unit.1'].set_data( + self.game.scenes['cryo'].things['cryo.unit.1'].set_data( 'contains_titanium_leg', False) self.scene.remove_thing(self) return Result("The skeletal occupant of this cryo unit has an"