From 85df49f5a3b390130318d189b80b00f8a92269ab 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 `Started` component --- common/src/network/server.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/common/src/network/server.rs b/common/src/network/server.rs index c52881d..209522b 100644 --- a/common/src/network/server.rs +++ b/common/src/network/server.rs @@ -32,9 +32,11 @@ 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"), + Started, // yeah it's started, alright + )); } }