summaryrefslogtreecommitdiff
path: root/shared/src/resources.rs
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src/resources.rs')
-rw-r--r--shared/src/resources.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/src/resources.rs b/shared/src/resources.rs
index d22e3ea..95f42e4 100644
--- a/shared/src/resources.rs
+++ b/shared/src/resources.rs
@@ -19,7 +19,7 @@ use anyhow::Result;
use glam::{Affine3A, Vec3A};
use log::warn;
use std::{
- collections::{BTreeMap, HashMap},
+ collections::BTreeMap,
io::{Read, Write},
};
@@ -67,7 +67,7 @@ pub struct MeshPart {
}
#[derive(Debug, Default, Clone)]
-pub struct PrefabIndex(pub BTreeMap<String, Resource>);
+pub struct PrefabIndex(pub BTreeMap<String, Resource<Prefab>>);
#[derive(Debug, Default, Clone)]
pub struct AttributeArray(pub Vec<f32>);