chore: rework state machine further (#16567)

This commit is contained in:
jif-oai authored and GitHub committed 2026-04-02 16:15:28 +02:00
1 parent e47ed5e57f
commit ab6cce62b8
4 files changed
+77 -24

No files matched your search

-4
View File
@@ -214,10 +214,6 @@ impl TurnState {
!self.pending_input.is_empty()
}
pub(crate) fn defer_mailbox_delivery_to_next_turn(&mut self) {
self.set_mailbox_delivery_phase(MailboxDeliveryPhase::NextTurn);
}
pub(crate) fn accept_mailbox_delivery_for_current_turn(&mut self) {
self.set_mailbox_delivery_phase(MailboxDeliveryPhase::CurrentTurn);
}