Added check to make sure game is running