fix plugin for server
This commit is contained in:
@@ -62,6 +62,7 @@ bevy_pkv = { version = "0.14", default-features = false, features = [
|
|||||||
] }
|
] }
|
||||||
bevy_replicon = "0.37.1"
|
bevy_replicon = "0.37.1"
|
||||||
bevy_replicon_renet = { version = "0.13.0", default-features = false, features = [
|
bevy_replicon_renet = { version = "0.13.0", default-features = false, features = [
|
||||||
|
"server",
|
||||||
"renet_steam",
|
"renet_steam",
|
||||||
] }
|
] }
|
||||||
bevy_sprite3d = "7.0.0"
|
bevy_sprite3d = "7.0.0"
|
||||||
|
|||||||
@@ -92,7 +92,6 @@ pub fn launch() {
|
|||||||
.auto_open_threshold(bevy::log::tracing::level_filters::LevelFilter::OFF),
|
.auto_open_threshold(bevy::log::tracing::level_filters::LevelFilter::OFF),
|
||||||
);
|
);
|
||||||
|
|
||||||
app.add_plugins(SteamServerPlugin);
|
|
||||||
app.add_plugins(PhysicsPlugins::default());
|
app.add_plugins(PhysicsPlugins::default());
|
||||||
app.add_plugins((RepliconPlugins, RepliconRenetPlugins));
|
app.add_plugins((RepliconPlugins, RepliconRenetPlugins));
|
||||||
app.add_plugins(Sprite3dPlugin);
|
app.add_plugins(Sprite3dPlugin);
|
||||||
|
|||||||
Reference in New Issue
Block a user