Fixed leave condition at cave entrance.