From 7ba6206ec8bd904c53a662a2fce1e5f48961c431 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 23 Nov 2022 23:46:43 +0100 Subject: update dependencies --- src/bt.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/bt.rs') 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)) } -- cgit v1.2.3