aboutsummaryrefslogtreecommitdiffstats
path: root/src/server.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-24 05:46:03 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-24 05:46:03 +0100
commit9572af0b8173ada042e654dc0c7c342d58eefc92 (patch)
treea33837263a6985e9b0e9b94f5aaab907d7aa1612 /src/server.rs
parent3bfcf00baeb7c0a2e1b45aa9038c80dc24e37214 (diff)
chore: change factions to purple/yellow
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs8
1 files changed, 4 insertions, 4 deletions
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<EntityMap>) {
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<EntityMap>) {
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<EntityMap>) {
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<EntityMap>) {
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());
}