mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 23:50:12 +01:00
feat: stage reordering, skip controls, quick build, and commander session cleanup
This commit is contained in:
parent
f6a6f72950
commit
9ab3835e2a
15 changed files with 1040 additions and 34 deletions
|
|
@ -175,6 +175,8 @@ def start_ctx_from_session(sess: dict, *, set_on_session: bool = True) -> Dict[s
|
|||
ctx["partner_mode"] = sess.get("partner_mode")
|
||||
ctx["combined_commander"] = sess.get("combined_commander")
|
||||
ctx["partner_warnings"] = list(sess.get("partner_warnings", []) or [])
|
||||
# M2: Attach session reference to context for skip controls
|
||||
ctx["session"] = sess
|
||||
return ctx
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue