ainslec / adventuron-issue-tracker

Adventuron Issues Tracker
4 stars 0 forks source link

Add_choice and done inconsistency. #443

Closed ainslec closed 3 years ago

ainslec commented 3 years ago

Done within an add_choice block does not end cease execution (after the choose) as would be expected.

(Raised by Dee)

start_at = test_location

locations {
   test_location "Please type TEST." ;
}

on_command {
   : match "test _" {
      : add_choice "Select This"  {
         : print "PASS-001";
         : done;
         : print "FAIL-001";
      }
      : choose ;
      : print "FAIL-002";
   }
}
ainslec commented 3 years ago

Fixed.