summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js3
-rw-r--r--rules.ts4
2 files changed, 2 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index f08657f..e608c52 100644
--- a/rules.js
+++ b/rules.js
@@ -2321,10 +2321,9 @@ function end_of_year() {
false,
false,
];
- const player_order = get_player_order();
const engine = [];
for (let i = 0; i < glory_to_draw[game.year]; ++i) {
- engine.push(create_state_node('draw_glory', player_order[i % 3]));
+ engine.push(create_state_node('draw_glory', game.initiative));
}
engine.push(create_function_node('end_of_year_cleanup'));
game.engine = engine;
diff --git a/rules.ts b/rules.ts
index cc1fb2d..04641c6 100644
--- a/rules.ts
+++ b/rules.ts
@@ -2821,12 +2821,10 @@ function end_of_year() {
false,
];
- const player_order = get_player_order();
-
const engine = [];
for (let i = 0; i < glory_to_draw[game.year]; ++i) {
- engine.push(create_state_node('draw_glory', player_order[i % 3]));
+ engine.push(create_state_node('draw_glory', game.initiative));
}
engine.push(create_function_node('end_of_year_cleanup'));