summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-12-20 09:46:17 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-12-20 09:46:17 +0000
commit164234f25cb50849b8259786893c969391e312ff (patch)
tree97efe1ba26bf9c166bfd30617c99df719b276203 /rules.js
parent608e5d9744a2ec9024977895579d81a3581b9b04 (diff)
download1989-dawn-of-freedom-164234f25cb50849b8259786893c969391e312ff.tar.gz
Add undo to Goddess when passing
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 63e9502..679ea31 100644
--- a/rules.js
+++ b/rules.js
@@ -986,6 +986,7 @@ states.tst_goddess = {
game.state = 'tst_goddess_draw'
},
pass() {
+ push_undo()
log('Did not discard.')
end_goddess()
},