Use oneline 'if' on Robot#tick