From 058ed952fc5166a9c302a6528e3942be6da6448a Mon Sep 17 00:00:00 2001 From: copygirl Date: Tue, 28 Oct 2025 21:24:30 +0100 Subject: [PATCH] Start local server by adding `(Linked, Started)` --- common/src/network/server.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/common/src/network/server.rs b/common/src/network/server.rs index c52881d..91db614 100644 --- a/common/src/network/server.rs +++ b/common/src/network/server.rs @@ -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 + )); } }