This commit is contained in:
legitnull 2023-02-18 13:39:11 -07:00
parent 130c63d33f
commit 6acbbf1413
2 changed files with 3 additions and 2 deletions

View File

@ -13,4 +13,5 @@ rand = "0.8.4"
regex = "1.7.1"
toml = "0.7.2"
serde = "1.0.152"
scoped_threadpool = "0.1.9"
tokio-openssl = "0.6.3"
webpki = "0.22.0"

View File

@ -34,7 +34,7 @@ impl Command for InvadeCommand {
let config_value = config_str.parse::<Value>().unwrap();
let config: Config = config_value.try_into().unwrap();
for invader in &config.invaders {
for invader in &config.invaders[0..num_bots] {
let thread_channel = invadechannel.to_string();
let thread_invader = invader.to_string();
let config_clone = config.clone();