dont listen to keys when ai is playing