Changeset 471:616f08c0f096


Ignore:
Timestamp:
09/07/13 14:25:08 (8 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
37303131633138353161383939303661343237303663653330353035633231323234353838383431
Message:

None is the same as not changing screen (it's dry but you can commit it).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r469 r471  
    174174        elif DoorEvent.matches(ev):
    175175            self.protagonist.set_position(ev.dest_pos)
    176             if ev.destination != self.name:
     176            if ev.destination is not None and ev.destination != self.name:
    177177                # Go to anther screen
    178178                self._disable_render = True
Note: See TracChangeset for help on using the changeset viewer.