From 9572af0b8173ada042e654dc0c7c342d58eefc92 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sun, 24 Mar 2024 05:46:03 +0100 Subject: chore: change factions to purple/yellow --- src/server.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server.rs') diff --git a/src/server.rs b/src/server.rs index 6f8bce9..01dfe93 100644 --- a/src/server.rs +++ b/src/server.rs @@ -123,7 +123,7 @@ fn setup(mut commands: Commands, mut entity_map: ResMut) { let entity = commands.spawn(TowerBundle::new( *client_id, Vec2::new(0., TOWER_DISTANCE / 2. + *n as f32 * TOWER_DISTANCE), - Faction::Blue, + Faction::Yellow, )); entity_map.0.insert(*client_id, entity.id()); } @@ -132,7 +132,7 @@ fn setup(mut commands: Commands, mut entity_map: ResMut) { let entity = commands.spawn(NexusBundle::new( client_id, Vec2::new(0., TOWER_DISTANCE / 2. + 3. * TOWER_DISTANCE), - Faction::Blue, + Faction::Yellow, )); entity_map.0.insert(client_id, entity.id()); } @@ -141,7 +141,7 @@ fn setup(mut commands: Commands, mut entity_map: ResMut) { let entity = commands.spawn(TowerBundle::new( *client_id, Vec2::new(0., -TOWER_DISTANCE / 2. - *n as f32 * TOWER_DISTANCE), - Faction::Red, + Faction::Purple, )); entity_map.0.insert(*client_id, entity.id()); } @@ -150,7 +150,7 @@ fn setup(mut commands: Commands, mut entity_map: ResMut) { let entity = commands.spawn(NexusBundle::new( client_id, Vec2::new(0., -TOWER_DISTANCE / 2. - 3. * TOWER_DISTANCE), - Faction::Red, + Faction::Purple, )); entity_map.0.insert(client_id, entity.id()); } -- cgit v1.2.3