diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-02-09 17:40:50 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-02-09 17:40:50 +0000 |
commit | 563b03dd4260fe8f39629f49de698753999ef74e (patch) | |
tree | 24f7ae11168729ddf7d5b16c649d9b0a90fc0db4 /rules.js | |
parent | 65d2a2e3f45193ebf6f6c1777af80655af44e1ee (diff) | |
download | 1989-dawn-of-freedom-563b03dd4260fe8f39629f49de698753999ef74e.tar.gz |
Add Claim Award button
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) }, |