removed unused label field
This commit is contained in:
@@ -6,7 +6,6 @@ export interface BodyResourceDescriptionListInterface {
|
|||||||
|
|
||||||
export interface BodyResourceDescriptionInterface {
|
export interface BodyResourceDescriptionInterface {
|
||||||
id: string;
|
id: string;
|
||||||
label: string;
|
|
||||||
img: string;
|
img: string;
|
||||||
level?: number;
|
level?: number;
|
||||||
}
|
}
|
||||||
@@ -92,7 +91,7 @@ export class PlayerTextures {
|
|||||||
}
|
}
|
||||||
for (const collection of category.collections) {
|
for (const collection of category.collections) {
|
||||||
for (const texture of collection.textures) {
|
for (const texture of collection.textures) {
|
||||||
resources[texture.id] = { id: texture.id, label: texture.name, img: texture.url };
|
resources[texture.id] = { id: texture.id, img: texture.url };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return resources;
|
return resources;
|
||||||
@@ -100,5 +99,5 @@ export class PlayerTextures {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const OBJECTS: BodyResourceDescriptionInterface[] = [
|
export const OBJECTS: BodyResourceDescriptionInterface[] = [
|
||||||
{ id: "teleportation", label: "Teleport", img: "resources/objects/teleportation.png" },
|
{ id: "teleportation", img: "resources/objects/teleportation.png" },
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user