1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Remove enumLayer and enumItemType

This commit is contained in:
Bjorn Stromberg
2020-08-16 01:39:08 +09:00
committed by tobspr
parent 75e729dac2
commit 6a447e3583
51 changed files with 166 additions and 191 deletions

View File

@@ -456,7 +456,7 @@ export class TypeEnum extends BaseDataType {
*/
constructor(enumeration = {}) {
super();
this.availableValues = Object.keys(enumeration);
this.availableValues = Object.values(enumeration);
}
serialize(value) {