aboutsummaryrefslogtreecommitdiff
path: root/src/bt.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-11-23 23:46:43 +0100
committerDaniel Schadt <kingdread@gmx.de>2022-11-23 23:46:43 +0100
commit7ba6206ec8bd904c53a662a2fce1e5f48961c431 (patch)
treeb25c31eea6e76356aa1b02f54c6fdb5cd4d1d893 /src/bt.rs
parentd6ba356a7573202709c7b0ec2be3a2857b58bd6b (diff)
downloadkondou-7ba6206ec8bd904c53a662a2fce1e5f48961c431.tar.gz
kondou-7ba6206ec8bd904c53a662a2fce1e5f48961c431.tar.bz2
kondou-7ba6206ec8bd904c53a662a2fce1e5f48961c431.zip
update dependencies
Diffstat (limited to 'src/bt.rs')
-rw-r--r--src/bt.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bt.rs b/src/bt.rs
index f2e1fad..82be953 100644
--- a/src/bt.rs
+++ b/src/bt.rs
@@ -276,9 +276,7 @@ impl BuildTemplate {
// utilities (the active ones are saved in the normal skill slots).
// The order is terrestric 1/2/3 and then aquatic 1/2/3, with 2 bytes per skill.
// We don't care about that, so just do whatever.
- for _ in 0..12 {
- bytes.push(0);
- }
+ bytes.resize(bytes.len() + 12, 0);
format!("[&{}]", base64::encode(&bytes))
}