When replay throws an error, stop replaying

This commit is contained in:
2025-01-15 15:07:26 -06:00
parent 4eb425cc91
commit a3cd5c9e73

View File

@@ -648,6 +648,7 @@ void replay_action(Element& action) {
}else{ }else{
std::ostringstream sstr; std::ostringstream sstr;
sstr << "Couldn't replay action: " << action; sstr << "Couldn't replay action: " << action;
replaying = false;
throw sstr.str(); throw sstr.str();
} }