Fix Robot.act

Hi garlicpasta,

i have fixed the Robot.act function