removed unused label field

This commit is contained in:
Hanusiak Piotr
2022-03-10 09:24:31 +01:00
parent fb05037594
commit b3e896d9fc
+2 -3
View File
@@ -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" },
]; ];