Updated to new gamestates in the server class.