Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10045


Ignore:
Timestamp:
10/17/13 10:14:09 (11 years ago)
Author:
ascheibe
Message:

#2069 fixed a bug in the BattleRunner

Location:
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/BattleRunner.java

    r10044 r10045  
    9999  public void onBattleCompleted(BattleCompletedEvent e) {   
    100100    double robotScore = -1.0;
    101     double opponentScore = - 1.0;
     101    double opponentScore = -1.0;
    102102   
    103103        for (robocode.BattleResults result : e.getSortedResults()) {     
    104             if (result.getTeamLeaderName().equals(BattleRunner.player))
     104            if (result.getTeamLeaderName().contains(BattleRunner.player))
    105105                robotScore = result.getScore();
    106106            else
Note: See TracChangeset for help on using the changeset viewer.