Skip to content

Commit

Permalink
Fixed bug where sages could not attack
Browse files Browse the repository at this point in the history
  • Loading branch information
pv711 committed Jan 2, 2022
1 parent bf82143 commit be59dbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engine/src/main/battlecode/common/RobotType.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ public boolean canBuild(RobotType builtType) {
*/
public boolean canAttack() {
return (this == WATCHTOWER
|| this == SOLDIER);
|| this == SOLDIER
|| this == SAGE);
}

/**
Expand Down

0 comments on commit be59dbd

Please sign in to comment.