diff options
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/swarm/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index 24b336fd..c79e6685 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -163,6 +163,7 @@ where handler: Some(Box::new(move |bot, event, state: S| { Box::pin(handler(bot, event, state)) })), + // if we added accounts before the State was set, we've gotta set it to the default now states: vec![S::default(); self.accounts.len()], app: self.app, ..self |
