From 8c9f513b35046dffdf630f8a1baebd42fa8217f8 Mon Sep 17 00:00:00 2001 From: zhoudaxia <1018795633@qq.cin> Date: Fri, 26 Aug 2016 21:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=B8=AA=E4=B8=80=E4=B8=AA=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../net/sf/robocode/roborumble/battlesengine/BattlesRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/代码/workspace_robo4/robocode.roborumble/src/main/java/net/sf/robocode/roborumble/battlesengine/BattlesRunner.java b/代码/workspace_robo4/robocode.roborumble/src/main/java/net/sf/robocode/roborumble/battlesengine/BattlesRunner.java index 78a2c22..91240ba 100644 --- a/代码/workspace_robo4/robocode.roborumble/src/main/java/net/sf/robocode/roborumble/battlesengine/BattlesRunner.java +++ b/代码/workspace_robo4/robocode.roborumble/src/main/java/net/sf/robocode/roborumble/battlesengine/BattlesRunner.java @@ -107,7 +107,7 @@ public class BattlesRunner { final BattleSpecification specification = new BattleSpecification(battle.getNumRounds(), battle.getBattlefield(), robotsList); - lastResults = null; + engine.runBattle(specification, true); if (lastResults.length > 1) { dumpResults(outtxt, lastResults, param[param.length - 1], melee);