summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-24 21:33:01 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-24 21:33:01 +0000
commitf9f1dfeb157a0f59e2fd7e8b93a4f057d1011af6 (patch)
treec2148b19b39a71497648bacd9204b3061fcb0943
parenta51d662dc3f303f8f46000ebca708c4d6808af12 (diff)
download1989-dawn-of-freedom-f9f1dfeb157a0f59e2fd7e8b93a4f057d1011af6.tar.gz
Reorder Laszlo Tokes logging
-rw-r--r--rules.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 06156a5..f0ae0f2 100644
--- a/rules.js
+++ b/rules.js
@@ -5009,10 +5009,14 @@ function vm_kremlin_coup() {
game.state = 'vm_kremlin_coup_choose_country'
}
-function vm_laszlo_tokes() {
+function vm_laszlo_tokes_prep() {
add_to_persistent_events(C_LASZLO_TOKES)
logi(`Allows play of C${C_MASSACRE_IN_TIMISOARA}`)
game.playable_cards.push(C_MASSACRE_IN_TIMISOARA)
+ vm_next()
+}
+
+function vm_laszlo_tokes() {
game.state = 'vm_laszlo_tokes'
}
@@ -8526,6 +8530,7 @@ CODE[72] = [ // Peasant Parties Revolt
]
CODE[73] = [ // Laszlo Tokes*
+ [ vm_laszlo_tokes_prep ],
[ vm_valid_spaces, 'Timisoara', 'Harghita/Covasna' ],
[ vm_prompt, 'in Timisoara and Harghita/Covasna' ],
[ vm_add_limited_infl, 2, 1 ],