M crates/unified/src/shared_plugins.rs => crates/unified/src/shared_plugins.rs +20 -21
@@ 30,27 30,26 @@ impl PluginGroup for SharedPluginGroup {
}
pub fn register_everything(app: &mut App) {
- app
- .add_mapped_client_message::<ThrustSolution>(Channel::Ordered)
- .add_mapped_client_message::<DragRequestEvent>(Channel::Ordered)
- .add_mapped_server_message::<Hi>(Channel::Ordered)
- .replicate::<Transform>()
- .replicate::<GlobalTransform>()
- .replicate::<Planet>()
- .replicate::<Part>()
- .replicate::<Player>()
- .replicate::<Particles>()
- .replicate::<ChildOf>()
- .replicate::<Ship>()
- .replicate::<PartInShip>()
- .replicate::<Joint>()
- .replicate::<Peer>()
- .replicate::<JointOf>()
- .replicate::<SnapOfJoint>()
- .replicate::<SnapOf>()
- .replicate::<PlayerStorage>()
- .replicate::<Thruster>()
- .replicate::<ThrusterOfPart>();
+ app.add_mapped_client_message::<ThrustSolution>(Channel::Ordered);
+ app.add_mapped_client_message::<DragRequestEvent>(Channel::Ordered);
+ app.add_mapped_server_message::<Hi>(Channel::Ordered);
+ app.replicate::<Transform>();
+ app.replicate::<GlobalTransform>();
+ app.replicate::<Planet>();
+ app.replicate::<Part>();
+ app.replicate::<Player>();
+ app.replicate::<Particles>();
+ app.replicate::<ChildOf>();
+ app.replicate::<Ship>();
+ app.replicate::<PartInShip>();
+ app.replicate::<Joint>();
+ app.replicate::<Peer>();
+ app.replicate::<JointOf>();
+ app.replicate::<SnapOfJoint>();
+ app.replicate::<SnapOf>();
+ app.replicate::<PlayerStorage>();
+ app.replicate::<Thruster>();
+ app.replicate::<ThrusterOfPart>();
}
fn physics_setup_plugin(app: &mut App) {