Changeset 512:a46767c61ad6


Ignore:
Timestamp:
Sep 7, 2013, 5:31:30 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
rebase_source:
2c918866b8bab7e4583fc7273830a54fb5a856c0
Message:

debug print on teleport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r511 r512  
    189189            self.protagonist.set_position(ev.dest_pos)
    190190            if ev.destination is not None and ev.destination != self.name:
     191                if options.debug:
     192                    print 'Teleporting to %s' % ev.destination
    191193                # Go to anther screen
    192194                self._disable_render = True
Note: See TracChangeset for help on using the changeset viewer.