From 550050be34dc10be600e43f3206945fff59ac1e9 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 28 Sep 2024 18:44:25 +0100 Subject: Fix workers' revolt --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index de8196e..676cc11 100644 --- a/rules.js +++ b/rules.js @@ -7609,7 +7609,7 @@ states.vm_workers_revolt_finish = { clear_undo() let roll = Math.floor(Math.random() * 6) + 1 log(`Rolled a ${roll}`) - let adj = count_adj(spaces[game.selected].name_unique) + let adj = count_adj(spaces[game.selected_space].name_unique) if (game.active === DEM) { log(`-${adj.com_adj} from opponent controlled spaces`) roll -= adj.com_adj -- cgit v1.2.3