diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-08-01 00:16:24 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-08-01 00:16:24 +0200 |
commit | aafb7856455313844a13a75c5171a649f6573feb (patch) | |
tree | 410188af021ea67b248f343f8422f6cf0e17afa0 | |
parent | 8f65a7d3e2042d79c2c7c8c74f9fd2b70280aa38 (diff) | |
download | planetwars.dev-aafb7856455313844a13a75c5171a649f6573feb.tar.xz planetwars.dev-aafb7856455313844a13a75c5171a649f6573feb.zip |
make name field optional
-rw-r--r-- | planetwars-client/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-client/src/main.rs b/planetwars-client/src/main.rs index 5053c51..21da005 100644 --- a/planetwars-client/src/main.rs +++ b/planetwars-client/src/main.rs @@ -34,7 +34,7 @@ struct PlayMatch { #[derive(Deserialize)] struct BotConfig { #[allow(dead_code)] - name: String, + name: Option<String>, command: Command, working_directory: Option<String>, } |