We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cac2e8 commit 2f9cb4fCopy full SHA for 2f9cb4f
src/bundles/robot_minigame/functions.ts
@@ -339,7 +339,7 @@ const SAFE_DISTANCE_FROM_WALL : number = 10;
339
*/
340
export function move_forward_to_wall() {
341
// Move forward the furthest possible safe distance + a lil extra offset
342
- move_forward(Math.max(get_distance() - robot.radius - SAFE_DISTANCE_FROM_WALL, 0));
+ move_forward(Math.max(get_distance() - SAFE_DISTANCE_FROM_WALL, 0));
343
}
344
345
/**
0 commit comments