summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js20
1 files changed, 5 insertions, 15 deletions
diff --git a/rules.js b/rules.js
index f19de35..7cf1b54 100644
--- a/rules.js
+++ b/rules.js
@@ -2006,21 +2006,11 @@ function goto_pass() {
push_undo()
game.cylinder[game.current] = SOP_PASS
log_h2(faction_name[game.current] + " - Pass")
- game.state = "pass"
-}
-
-states.pass = {
- prompt() {
- view.prompt = `Pass: ${faction_name[game.current]} +${game.current === GOVT ? 3 : 1} Resources.`
- gen_action_resources(game.current)
- },
- resources(_) {
- if (game.current === GOVT)
- add_resources(game.current, 3)
- else
- add_resources(game.current, 1)
- resume_event_card()
- },
+ if (game.current === GOVT)
+ add_resources(game.current, 3)
+ else
+ add_resources(game.current, 1)
+ resume_event_card()
}
// === OPERATIONS ===