diff --git a/engine/src/main/battlecode/world/RobotControllerImpl.java b/engine/src/main/battlecode/world/RobotControllerImpl.java index d4c3226e..28c2f56c 100644 --- a/engine/src/main/battlecode/world/RobotControllerImpl.java +++ b/engine/src/main/battlecode/world/RobotControllerImpl.java @@ -513,6 +513,10 @@ public void pickUpCheese(MapLocation loc, int pickUpAmount) throws GameActionExc this.gameWorld.addCheese(loc, -pickUpAmount); this.robot.addCheese(pickUpAmount); this.gameWorld.getMatchMaker().addCheesePickUpAction(loc); + + if (this.gameWorld.getCheeseAmount(loc) > 0) + this.gameWorld.getMatchMaker().addCheeseSpawnAction(loc, this.gameWorld.getCheeseAmount(loc)); + this.gameWorld.getTeamInfo().addCheeseCollected(getTeam(), pickUpAmount); if (getType() == UnitType.RAT_KING) { diff --git a/specs/specs.pdf b/specs/specs.pdf index e9e672f2..1d5028da 100644 Binary files a/specs/specs.pdf and b/specs/specs.pdf differ