From 9ae554711e803094ed6f43ffe940737c1eaf1558 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 10 Oct 2023 12:57:15 +0200 Subject: skip setup for scenarios that don't use it --- rules.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index afb2af7..6c30356 100644 --- a/rules.js +++ b/rules.js @@ -1912,6 +1912,8 @@ exports.setup = function (seed, scenario, options) { update_aliases() + goto_setup_lords() + return game } @@ -2128,7 +2130,12 @@ function setup_ItoIII() { setup_vassals() } -// setup will be used in some scenarios + +function goto_setup_lords() { + // setup will be used in some scenarios + end_setup_lords() + end_setup_lords() +} states.setup_lords = { inactive: "Set up Lords", -- cgit v1.2.3