File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
engine/src/main/battlecode/world Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ public void mineLead(MapLocation loc) throws GameActionException {
609609 this .gameWorld .setLead (loc , this .gameWorld .getLead (loc ) - 1 );
610610 this .gameWorld .getTeamInfo ().addLead (getTeam (), 1 );
611611 this .gameWorld .getMatchMaker ().addAction (getID (), Action .MINE_LEAD , locationToInt (loc ));
612- this .gameWorld .getMatchMaker ().addLeadDrop (robot . getLocation () , -1 );
612+ this .gameWorld .getMatchMaker ().addLeadDrop (loc , -1 );
613613 }
614614
615615 private void assertCanMineGold (MapLocation loc ) throws GameActionException {
@@ -639,7 +639,7 @@ public void mineGold(MapLocation loc) throws GameActionException {
639639 this .gameWorld .setGold (loc , this .gameWorld .getGold (loc ) - 1 );
640640 this .gameWorld .getTeamInfo ().addGold (getTeam (), 1 );
641641 this .gameWorld .getMatchMaker ().addAction (getID (), Action .MINE_GOLD , locationToInt (loc ));
642- this .gameWorld .getMatchMaker ().addGoldDrop (robot . getLocation () , -1 );
642+ this .gameWorld .getMatchMaker ().addGoldDrop (loc , -1 );
643643 }
644644
645645 // *************************
You can’t perform that action at this time.
0 commit comments