aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 210909b..4852856 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -24,6 +24,8 @@ struct Cli {
champion: Champion,
#[arg(long, default_value = "yellow")]
faction: Faction,
+ #[arg(long, default_value = "1.0")]
+ scale_factor: f32,
}
fn main() {
@@ -47,6 +49,7 @@ fn main() {
TransportConfig::UdpSocket(client_addr),
cli.champion,
cli.faction,
+ cli.scale_factor,
);
} else {
let (from_server_send, from_server_recv) = crossbeam_channel::unbounded();
@@ -68,6 +71,7 @@ fn main() {
},
cli.champion,
cli.faction,
+ cli.scale_factor,
);
}
}