diff options
Diffstat (limited to 'server/src/state.rs')
-rw-r--r-- | server/src/state.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/state.rs b/server/src/state.rs index ad22cad2..5e0302b2 100644 --- a/server/src/state.rs +++ b/server/src/state.rs @@ -24,6 +24,7 @@ impl Server { pub async fn tick_outer(&mut self, dt: f32) -> anyhow::Result<()> { let r = self.tick(dt); if let Some((name, timer)) = r { + self.scoreboard.save().await?; self.load(self.index.generate(&name).await?, timer); } while let Some(p) = self.packet_out.pop_front() { |