1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 11:41:50 +00:00

this.allowNonPrimaryColors added to BaseMap

Signed-off-by: Daan Breur <git@daanbreur.systems>
This commit is contained in:
Daan Breur 2021-11-21 20:53:17 +01:00
parent 61ea329659
commit a3bb91ebfb

View File

@ -15,6 +15,7 @@ export class BaseMap extends BasicSerializableObject {
static getSchema() { static getSchema() {
return { return {
seed: types.uint, seed: types.uint,
allowNonPrimaryColors: types.bool,
}; };
} }
@ -27,6 +28,7 @@ export class BaseMap extends BasicSerializableObject {
this.root = root; this.root = root;
this.seed = 0; this.seed = 0;
this.allowNonPrimaryColors = false;
/** /**
* Mapping of 'X|Y' to chunk * Mapping of 'X|Y' to chunk