fixed minor bug in gamestate.h