Skip to content

Commit

Permalink
Fix vortex bug
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mao committed Jan 26, 2022
1 parent 1b7b022 commit 09f61c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/src/main/battlecode/world/GameWorld.java
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,11 @@ private void flipRubbleVertically() {
public void causeVortexGlobal() {
int changeIdx = 0;
switch (this.gameMap.getSymmetry()) {
case HORIZONTAL:
case VERTICAL:
flipRubbleVertically();
changeIdx = 2;
break;
case VERTICAL:
case HORIZONTAL:
flipRubbleHorizontally();
changeIdx = 1;
break;
Expand Down

0 comments on commit 09f61c8

Please sign in to comment.