changeset 458:fbae2da0c3c0

Fix npc-test to track changes to GameState.
author Simon Cross <hodgestar@gmail.com>
date Sat, 09 Apr 2011 20:49:52 +0200
parents de224d9fb943
children 6e065efdcec6
files scripts/npc-test
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/npc-test	Sat Apr 09 20:49:53 2011 +0200
+++ b/scripts/npc-test	Sat Apr 09 20:49:52 2011 +0200
@@ -14,6 +14,7 @@
 
 def run(npc_name, game_json, interact):
     game = GameState(game_json)
+    game.new_game()
 
     print "Testing ..."
     print "==========="
@@ -81,6 +82,7 @@
 
 def test_all(game_json):
     game = GameState(game_json)
+    game.new_game()
 
     print "Testing NPCs"
     print "============"