Program Logic Error

I "fixed" something I shouldn't have in a previous commit. whoops. Last one for now for serious.