make sure game is not ended if already ended