There was a null pointer exception related to going into/leaving third person camera and the arrow annotation.

This commit is contained in:
fjc40
2017-09-14 23:11:52 +12:00
parent f308f5b8f3
commit 536428ce16
@@ -441,7 +441,10 @@ public class RaceViewController extends Controller {
private void removeThirdPersonAnnotations() {
viewSubjects.remove(nextMarkArrow);
arrowToNextMark.stop();
if (arrowToNextMark != null) {
arrowToNextMark.stop();
}
}
/**