We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dda00b8 commit 57db59aCopy full SHA for 57db59a
1 file changed
engine/src/main/battlecode/world/GameWorld.java
@@ -517,8 +517,8 @@ public void spawnCheese(CheeseMine mine) {
517
mine.setLastRound(this.currentRound);
518
pairedMine.setLastRound(this.currentRound);
519
520
- matchMaker.addCheeseSpawnAction(ogSpawnLoc, GameConstants.CHEESE_SPAWN_AMOUNT);
521
- matchMaker.addCheeseSpawnAction(pairedSpawnLoc, GameConstants.CHEESE_SPAWN_AMOUNT);
+ matchMaker.addCheeseSpawnAction(ogSpawnLoc, GameConstants.CHEESE_SPAWN_AMOUNT + this.getCheeseAmount(ogSpawnLoc));
+ matchMaker.addCheeseSpawnAction(pairedSpawnLoc, GameConstants.CHEESE_SPAWN_AMOUNT + this.getCheeseAmount(pairedSpawnLoc));
522
}
523
524
0 commit comments