It doesn't decide the president - but it influences which positions the 2 major parties have to cover. Lets say for example democrats are losing because they lost massively votes to the green party - then in the next race they will certainly consider how to get those votes back and might have a greener agenda.