Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/screen/battle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,8 @@ impl Screen for Battle {
return Ok(StackCommand::PushPopup(self.popup_confirm_exit()?));
}
Some(Message::EndTurn) => {
assert!(self.block_timer.is_none());
// assert!(self.block_timer.is_none());
// TODO: just warn or check if the battle is already over and only assert then
self.end_turn()?;
}
Some(Message::Ability(ability)) => self.use_ability(ability)?,
Expand Down