Mercurial > pyntnclick
diff gamelib/scenes/cryo.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 | a35f5364437d |
children | 374d96e0b55e |
line wrap: on
line diff
--- a/gamelib/scenes/cryo.py Sat Jan 26 20:29:58 2013 +0200 +++ b/gamelib/scenes/cryo.py Sun Jan 27 12:43:28 2013 +0200 @@ -172,8 +172,8 @@ responses = [Result(_("It takes more effort than one would expect," " but eventually the pipe is separated from" " the wall."), soundfile="chop-chop.ogg")] - if self.game.current_scene.get_data('vandalism_warn'): - self.game.current_scene.set_data('vandalism_warn', False) + if self.game.get_current_scene().get_data('vandalism_warn'): + self.game.get_current_scene().set_data('vandalism_warn', False) responses.append(make_jim_dialog( _("Prisoner %s. Vandalism is an offence punishable by a " "minimum of an additional 6 months to your sentence."