@ -32,9 +32,12 @@ pub struct StartLocalServerCommand;
impl Command for StartLocalServerCommand {
fn apply(self, world: &mut World) {
world
.spawn((Server::default(), Name::from("Server"), RawServer))
.trigger(|entity| Start { entity });
world.spawn((
Server::default(),
Name::from("LocalServer"),
// NOTE: Inserting both makes the local-only server act properly.
(Linked, Started), // yeah it's started, alright
));
}