def clutch_on(gear_count, acc, my_car):
    """

    If clutch is on, maximum acceleration is decreased depending on the transmission

    :param gear_count:
    :param acc:
    :param my_car:
    :return:
    """
    if gear_count > 0:
        if my_car.transmission == 'manual':
            return 0.0
        else:
            return acc * 2 / 3
    else:
        return acc
