diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-28 18:44:25 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-28 18:44:25 +0100 |
commit | 550050be34dc10be600e43f3206945fff59ac1e9 (patch) | |
tree | 44baf0fff18fb08b25e4447b7f3b4c6214b9b562 | |
parent | 79d412c45eaee14a1dc2ce0cbedd5f60a05b50d3 (diff) | |
download | 1989-dawn-of-freedom-550050be34dc10be600e43f3206945fff59ac1e9.tar.gz |
Fix workers' revolt
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
|