mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-16 19:51:50 +00:00
this.allowNonPrimaryColors added to BaseMap
Signed-off-by: Daan Breur <git@daanbreur.systems>
This commit is contained in:
parent
61ea329659
commit
a3bb91ebfb
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user