Changeset 583:194f71cc0689


Ignore:
Timestamp:
04/10/11 13:59:59 (12 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
30636165633663373036326266613161363561643932646638363065366134303839393162633362
Message:

don't remove kaneda from the geisha room too early (looks weird, but fixes crash)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/npcs.py

    r568 r583  
    7474
    7575    def update(self):
    76         if not self._me.present and self.alive:
     76        super(Kaneda, self).update()
     77        if not self._me.present and self.alive and self._me.level == "tea_house":
    7778            self.remove()
    78         if self.world.missions.kumiko_disgraced and self.alive:
     79        elif self.world.missions.kumiko_disgraced and self.alive and self._me.level == 'geisha_room':
    7980            self.remove()
    80         super(Kaneda, self).update()
    8181
    8282
Note: See TracChangeset for help on using the changeset viewer.