diff skaapsteker/sprites/base.py @ 461:c6d1165bb16f

Can talk your way past the guard
author Neil Muller <drnlmuller@gmail.com>
date Sat, 09 Apr 2011 20:43:29 +0200
parents 8b9b4706a4d6
children 18427edff33a
line wrap: on
line diff
--- a/skaapsteker/sprites/base.py	Sat Apr 09 20:09:58 2011 +0200
+++ b/skaapsteker/sprites/base.py	Sat Apr 09 20:43:29 2011 +0200
@@ -276,6 +276,7 @@
     def setup(self, name, world, dsm, state):
         self.name = name
         self.dsm = dialogue.DSM(name, world, dsm, state)
+        self._me = getattr(world.npcs, self.name)
 
     def player_action(self, player):
         OpenDialog.post(self)