diff dialogueactions.py @ 59:535801aec63e

DialogueGUI now acceps met_fnc and meet_fnc in its constructor and stores them in its game_state as "met" and "meet" respectively.
author KarstenBock@gmx.net
date Fri, 09 Sep 2011 16:12:46 +0200
parents 7a89ea5404b1
children e719bf53c25a
line wrap: on
line diff
--- a/dialogueactions.py	Fri Sep 09 15:47:43 2011 +0200
+++ b/dialogueactions.py	Fri Sep 09 16:12:46 2011 +0200
@@ -107,7 +107,7 @@
         #     verbose, so I'm logging it as an INFO message instead.
 #        print("You've met {0}!".format(npc_id))
         self.logger.info("You've met {0}!".format(npc_id))
-        game_state['pc'].meet(npc_id)
+        game_state['meet'](npc_id)
 DialogueAction.registerAction(MeetAction)