Fixed the bug. Accidentally refactored an important Member (end_leg_v_inf) of the Gamestate away.