# HG changeset patch # User Stefano Rivera # Date 1378575090 -7200 # Node ID a46767c61ad61ab3ea25ae2d9ddd4906884caaa0 # Parent a98ae2bc4957d33a58df1fd434398ee573f02627 debug print on teleport diff -r a98ae2bc4957 -r a46767c61ad6 nagslang/screens/area.py --- a/nagslang/screens/area.py Sat Sep 07 19:28:27 2013 +0200 +++ b/nagslang/screens/area.py Sat Sep 07 19:31:30 2013 +0200 @@ -188,6 +188,8 @@ elif DoorEvent.matches(ev): self.protagonist.set_position(ev.dest_pos) if ev.destination is not None and ev.destination != self.name: + if options.debug: + print 'Teleporting to %s' % ev.destination # Go to anther screen self._disable_render = True ScreenChange.post(ev.destination)