Trigger exit only when you have treasure  (corrected)