Skip to content

Commit 724f24c

Browse files
committed
Missed an exception in fly back.
1 parent 6c3f017 commit 724f24c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SerialPrograms/Source/PokemonLZA/Programs/PokemonLZA_BasicNavigation.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,14 @@ bool fly_from_map(ConsoleHandle& console, ProControllerContext& context){
7373
console.log("Flying from map... Started!");
7474
break;
7575
default:
76+
return false;
77+
#if 0
7678
OperationFailedException::fire(
7779
ErrorReport::SEND_ERROR_REPORT,
7880
"fly_from_map(): Unable to fly.",
7981
console
8082
);
83+
#endif
8184
}
8285
}
8386
{

0 commit comments

Comments
 (0)