From a3bb91ebfb180055cd8041cbe261ae36162c27c9 Mon Sep 17 00:00:00 2001 From: Daan Breur Date: Sun, 21 Nov 2021 20:53:17 +0100 Subject: [PATCH] `this.allowNonPrimaryColors` added to `BaseMap` Signed-off-by: Daan Breur --- src/js/game/map.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/game/map.js b/src/js/game/map.js index 67df7db3..8edff48b 100644 --- a/src/js/game/map.js +++ b/src/js/game/map.js @@ -15,6 +15,7 @@ export class BaseMap extends BasicSerializableObject { static getSchema() { return { seed: types.uint, + allowNonPrimaryColors: types.bool, }; } @@ -27,6 +28,7 @@ export class BaseMap extends BasicSerializableObject { this.root = root; this.seed = 0; + this.allowNonPrimaryColors = false; /** * Mapping of 'X|Y' to chunk