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:
@@ -456,7 +456,7 @@ export class TypeEnum extends BaseDataType {
|
||||
*/
|
||||
constructor(enumeration = {}) {
|
||||
super();
|
||||
this.availableValues = Object.keys(enumeration);
|
||||
this.availableValues = Object.values(enumeration);
|
||||
}
|
||||
|
||||
serialize(value) {
|
||||
|
||||
Reference in New Issue
Block a user