From b40a85bcf511806c9dcd7a318c0292ea8059cad4 Mon Sep 17 00:00:00 2001 From: Trevor Settles Date: Thu, 23 Nov 2023 11:17:36 -0700 Subject: [PATCH] feat: started server and client with different playtypes --- game/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/src/lib.rs b/game/src/lib.rs index 68d17de..43c53f0 100644 --- a/game/src/lib.rs +++ b/game/src/lib.rs @@ -21,6 +21,9 @@ impl Plugin for BasePlugin { .get_resource_mut::>() .unwrap(); k.set(self.0); + + let mut l = app.world.get_resource_mut::>().unwrap(); + l.set(self.1); } }