diff options
Diffstat (limited to 'src/bt.rs')
-rw-r--r-- | src/bt.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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)) } |