summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-16 11:23:14 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-16 11:23:14 +0100
commit33c664391add7d7b57775689e780b0110d13c1a4 (patch)
tree1ae08faa562e7099cff036d71c02b469f0ec2ac3 /rules.js
parent9a256e2e5ba2b266dfdf0aa0bc7da6496b2b0a70 (diff)
downloadtime-of-crisis-33c664391add7d7b57775689e780b0110d13c1a4.tar.gz
Remove "fast_setup" backwards compatibility option.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/rules.js b/rules.js
index 567a741..e0751ab 100644
--- a/rules.js
+++ b/rules.js
@@ -1206,11 +1206,6 @@ states.setup_province = {
update_neutral_italia()
- if (game.fast_setup) {
- game.state = "setup_hand"
- return
- }
-
clear_undo()
game.current = next_player()
@@ -1243,16 +1238,6 @@ states.setup_hand = {
done() {
clear_undo()
- if (game.fast_setup) {
- game.state = "setup_province"
- game.current = next_player()
- if (game.current === game.first) {
- delete game.fast_setup
- goto_start_turn()
- }
- return
- }
-
if (game.current === game.first)
goto_start_turn()
else
@@ -5508,8 +5493,6 @@ exports.setup = function (seed, scenario, options) {
log_h1("Time of Crisis")
- if (options.fast_setup)
- game.fast_setup = 1
if (options.emperor) {
log("Emperor Rules.")