diff options
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6430,7 +6430,6 @@ states.accept_deal_from = { let from = game.proposal.deal[DI_A_POWER] let to = game.proposal.deal[DI_B_POWER] prompt(`Accept ${power_name[from]} - ${power_name[to]} deal?`) - view.proposed_deal = game.proposal.deal view.actions.accept = 1 view.actions.reject = 1 view.actions.undo = 0 @@ -6452,7 +6451,6 @@ states.accept_deal_to = { let from = game.proposal.deal[DI_A_POWER] let to = game.proposal.deal[DI_B_POWER] prompt(`Accept ${power_name[from]} - ${power_name[to]} deal?`) - view.proposed_deal = game.proposal.deal view.actions.accept = 1 view.actions.reject = 1 view.actions.undo = 0 @@ -6490,7 +6488,6 @@ states.reject_deal = { let from = game.proposal.deal[DI_A_POWER] let to = game.proposal.deal[DI_B_POWER] prompt(`Deal between ${power_name[from]} and ${power_name[to]} was NOT accepted.`) - view.proposed_deal = game.proposal.deal view.actions.resume = 1 view.actions.undo = 0 }, @@ -7217,6 +7214,9 @@ exports.view = function (state, player) { if (!is_intro()) view.pol_deck = mask_pol_deck() + if (game.proposal && game.proposal.deal) + view.proposed_deal = game.proposal.deal + if (game.political) view.political = game.political |