aboutsummaryrefslogtreecommitdiff
path: root/server/src/commands.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-08-26 23:05:03 +0200
committermetamuffin <metamuffin@disroot.org>2025-08-26 23:05:13 +0200
commit47176814bc3137bc5aa09d28bc4f5aa6b6e5d65e (patch)
tree2b840aa2118c725f5ef953e312be9823cf9f53aa /server/src/commands.rs
parent34285add925cee5c3b27af7238ed52f61f376ef9 (diff)
downloadhurrycurry-47176814bc3137bc5aa09d28bc4f5aa6b6e5d65e.tar
hurrycurry-47176814bc3137bc5aa09d28bc4f5aa6b6e5d65e.tar.bz2
hurrycurry-47176814bc3137bc5aa09d28bc4f5aa6b6e5d65e.tar.zst
server: annouce start feature, entity constructors, pause timer
Diffstat (limited to 'server/src/commands.rs')
-rw-r--r--server/src/commands.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/commands.rs b/server/src/commands.rs
index 02562c87..91d81c12 100644
--- a/server/src/commands.rs
+++ b/server/src/commands.rs
@@ -156,6 +156,9 @@ impl Server {
.await
.map_err(|e| TrError::Plain(e.to_string()))?;
self.load(data, timer.map(Duration::from_secs));
+ self.start_pause_timer = 3.;
+ self.packet_out
+ .push_back(PacketC::Menu(Menu::AnnounceStart));
}
Command::End => {
self.tx