Updated the handling of the cooldown time of commands so it affects the commands sent to Unity as well.