@@ 13,9 13,7 @@ use bevy::{
use bevy_console::{ConsoleConfiguration, ConsolePlugin, ToggleConsoleKey};
use bevy_inspector_egui::quick::WorldInspectorPlugin;
use iyes_loopless::prelude::*;
-use naia_bevy_client::{
- Client as NaiaClient, ClientConfig as NaiaClientConfig, Plugin as NaiaClientPlugin,
-};
+use naia_bevy_client::{ClientConfig as NaiaClientConfig, Plugin as NaiaClientPlugin};
use laurelin_shared::server::protocol::protocol;
@@ 112,13 110,6 @@ fn main() {
app.run();
}
-fn init_networking(mut commands: Commands, mut client: NaiaClient) {
- info!("Laurelin client connecting");
-
- // TODO: un-hardcode this
- client.connect("http://127.0.0.1:14191");
-}
-
fn setup(mut commands: Commands) {
// Spawn a camera
commands.spawn(Camera3dBundle::default());