diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-17 17:01:32 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-17 17:01:32 +0000 |
commit | 7ac88e90d44cf077ed3cc1c8bc827993daab8b4a (patch) | |
tree | 14d0db3206cd2ff5c151b17975bda99121cf7b13 /rules.js | |
parent | 95b2bf3f54e2f2cc2b702afd622fd2bcb1207035 (diff) | |
download | 1989-dawn-of-freedom-7ac88e90d44cf077ed3cc1c8bc827993daab8b4a.tar.gz |
Update handling of TST
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2889,7 +2889,8 @@ function do_tst_attempt() { // TIANANMEN SQUARE ATTEMPT game.return = game.active - game.return_state = 'tiananmen_square_attempt_done' + + //game.return_state = 'tiananmen_square_attempt_done' if (game.active === DEM) { game.dem_tst_attempted_this_turn = 1 if (roll >= dem_tst_req[game.dem_tst_position]) { @@ -4761,7 +4762,7 @@ function vm_return() { } // Check if end event state is needed - if (game.is_pwr_struggle || game.state === 'vm_tst_6' || game.return_state === 'tiananmen_square_attempt_done' || game.return_state === 'ceausescu_check') { + if (game.is_pwr_struggle || game.state === 'vm_tst_6' || game.return_state === 'ceausescu_check') { vm_end_event() } // Check if auto-resolve opponent event @@ -7286,6 +7287,7 @@ states.vm_goodbye_lenin_ops = { }, tst() { push_undo() + game.return = game.round_player game.state = 'vm_tiananmen_square_attempt' }, } |