Prevented duplicate gamestates using a terrible method