Use oneline 'if' on Robot#tick

Just a small "stylistic" pull request. 
See it when trying to read the code for the first time.
Feel free to merge it or not.