summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js1
-rw-r--r--rules.js4
2 files changed, 3 insertions, 2 deletions
diff --git a/play.js b/play.js
index 290c9b1..60c80fa 100644
--- a/play.js
+++ b/play.js
@@ -874,6 +874,7 @@ function on_update() {
ui.spaces[s].classList.toggle("systematization", view.systematization === s)
}
+ action_button("claim", "Claim Award")
action_button("east_germany", "East Germany")
action_button("poland", "Poland")
action_button("czechoslovakia", "Czechoslovakia")
diff --git a/rules.js b/rules.js
index 00c31fc..a1a89ee 100644
--- a/rules.js
+++ b/rules.js
@@ -941,13 +941,13 @@ states.tiananmen_square_attempt_success = {
prompt() {
if (game.vm_event > 200) { // TODO magic number
view.prompt = 'Tiananmen Square Attempt: Successful. Claim award.'
- gen_action('done')
+ gen_action('claim')
} else {
view.prompt = 'Tiananmen Square Attempt: Successful.'
gen_action('end_round')
}
},
- done() {
+ claim() {
push_undo()
goto_vm(game.vm_event)
},