small status order correction

This commit is contained in:
sonora 2012-03-04 14:38:15 +01:00
parent 04dfa4c4cd
commit 4f10d8a10f

View file

@ -184,9 +184,9 @@ public class VoiceRouter {
CommandBuilder play = getNewCommandPlayerToPlay(); CommandBuilder play = getNewCommandPlayerToPlay();
if(play != null){ if(play != null){
play.goAhead(router.getLeftDistance()).andArriveAtDestination().play(); play.goAhead(router.getLeftDistance()).andArriveAtDestination().play();
}
currentStatus = STATUS_TOLD; currentStatus = STATUS_TOLD;
} }
}
return; return;
} }
if(dist == 0 || currentStatus == STATUS_TOLD){ if(dist == 0 || currentStatus == STATUS_TOLD){