Skip to content

Commit 0174ba0

Browse files
committed
Lint Fix
1 parent ab5fb70 commit 0174ba0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fission/src/mirabuf/ProtectedZoneSceneObject.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,14 @@ class ProtectedZoneSceneObject extends SceneObject {
281281
}
282282
break
283283

284-
case ContactType.RED_ROBOT_INSIDE:
284+
case ContactType.RED_ROBOT_INSIDE: {
285285
// Penalize if the red robot is inside the zone when collision occurs
286286
const redRobot = [collisionObjectBody1, collisionObjectBody2].find(robot => robot.alliance === "red")
287287
if (redRobot && this.isRobotInside(redRobot)) {
288288
shouldPenalize = true
289289
}
290290
break
291+
}
291292

292293
case ContactType.BLUE_ROBOT_INSIDE: {
293294
// Penalize if the blue robot is inside the zone when collision occurs

0 commit comments

Comments
 (0)