Skip to content

Commit bd04d1a

Browse files
committed
chore: Update Advance action to return early
1 parent 73556a0 commit bd04d1a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/plugin/action/advance.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ impl Advance {
3838
"Cannot enter field without any cards",
3939
));
4040
}
41-
_ => {}
41+
_ => {
42+
state.update_player(player);
43+
return Ok(());
44+
}
4245
}
4346
}
4447

0 commit comments

Comments
 (0)