mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'xMAC94x/fix_torvus_and_other_client_only' into 'master'
move ship_manifest to common assets until its properly included in servers ECS... See merge request veloren/veloren!3009
This commit is contained in:
commit
e218ec2b44
@ -202,7 +202,7 @@ pub mod figuredata {
|
||||
_: &str,
|
||||
) -> Result<Self, assets::Error> {
|
||||
let manifest: AssetHandle<Ron<ShipCentralSpec>> =
|
||||
AssetExt::load("server.manifests.ship_manifest")?;
|
||||
AssetExt::load("common.manifests.ship_manifest")?;
|
||||
let mut colliders = HashMap::new();
|
||||
for (_, spec) in (manifest.read().0).0.iter() {
|
||||
for bone in [&spec.bone0, &spec.bone1, &spec.bone2].iter() {
|
||||
@ -238,7 +238,7 @@ pub mod figuredata {
|
||||
// TODO: Load this from the ECS as a resource, and maybe make it more general than ships
|
||||
// (although figuring out how to keep the figure bones in sync with the terrain offsets seems
|
||||
// like a hard problem if they're not the same manifest)
|
||||
pub static ref VOXEL_COLLIDER_MANIFEST: AssetHandle<ShipSpec> = AssetExt::load_expect("server.manifests.ship_manifest");
|
||||
pub static ref VOXEL_COLLIDER_MANIFEST: AssetHandle<ShipSpec> = AssetExt::load_expect("common.manifests.ship_manifest");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user