We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb97539 commit 7191f38Copy full SHA for 7191f38
1 file changed
engine/src/main/battlecode/world/RobotControllerImpl.java
@@ -557,7 +557,7 @@ public RobotInfo senseRobotAtLocation(MapLocation loc) throws GameActionExceptio
557
public boolean canSenseRobot(int id) {
558
InternalRobot sensedRobot = getRobotByID(id);
559
Boolean isFlying = sensedRobot.isBeingThrown();
560
- return sensedRobot != null && isFlying && canSenseLocation(sensedRobot.getLocation());
+ return sensedRobot != null && !isFlying && canSenseLocation(sensedRobot.getLocation());
561
}
562
563
@Override
0 commit comments