diff scripts/npc-test @ 246:8dee25fd070d

Fix some npc-test and dialogue bugs.
author Simon Cross <hodgestar@gmail.com>
date Thu, 07 Apr 2011 19:11:08 +0200
parents a661b6621ec4
children 30ae3c681507
line wrap: on
line diff
--- a/scripts/npc-test	Thu Apr 07 18:51:59 2011 +0200
+++ b/scripts/npc-test	Thu Apr 07 19:11:08 2011 +0200
@@ -89,7 +89,7 @@
 
     if len(args) != 1:
         p.error("Must provide an npc json file")
-    run(args[0], game)
+    run(args[0], opts.game)
 
 if __name__ == '__main__':
     main()