From 1b23caef2dc7e591b412cd656096bada0ddd8f28 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 14 May 2023 16:54:14 +0200 Subject: Censorship Phase as option, not scenario. --- about.html | 2 +- create.html | 3 +++ rules.js | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/about.html b/about.html index 5903f5f..1593170 100644 --- a/about.html +++ b/about.html @@ -18,6 +18,6 @@ Copyright © 2021 diff --git a/create.html b/create.html index e69de29..bcd5a34 100644 --- a/create.html +++ b/create.html @@ -0,0 +1,3 @@ +

+ +

diff --git a/rules.js b/rules.js index ffb1d19..4774507 100644 --- a/rules.js +++ b/rules.js @@ -10,7 +10,7 @@ const VERSAILLES = "Versailles" var game, view, states = {} -exports.scenarios = [ "Standard", "Censorship" ] +exports.scenarios = [ "Standard" ] exports.roles = [ COMMUNE, VERSAILLES ] @@ -3283,7 +3283,7 @@ exports.setup = function (seed, scenario, options) { log_h1("Red Flag Over Paris") - if (scenario === "Censorship") { + if (options.censorship) { log("Censorship Phase Variant.") game.censorship = 1 } -- cgit v1.2.3