summaryrefslogtreecommitdiff
path: root/server/bot/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-13 16:48:38 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-13 16:48:38 +0200
commitc75b83236e4345f1a705d878acb1d59c1ad38746 (patch)
tree6d97e7e435940d7cd23ee5c4a572f8d671873ee2 /server/bot/src/main.rs
parent8d83fcef94ce1558a2c0e29e8be6c966c7e10a5b (diff)
downloadhurrycurry-c75b83236e4345f1a705d878acb1d59c1ad38746.tar
hurrycurry-c75b83236e4345f1a705d878acb1d59c1ad38746.tar.bz2
hurrycurry-c75b83236e4345f1a705d878acb1d59c1ad38746.tar.zst
customers work except for points and return to spawn
Diffstat (limited to 'server/bot/src/main.rs')
-rw-r--r--server/bot/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/bot/src/main.rs b/server/bot/src/main.rs
index cf115358..bb30cb68 100644
--- a/server/bot/src/main.rs
+++ b/server/bot/src/main.rs
@@ -92,6 +92,7 @@ fn main() -> Result<()> {
boost,
interact,
leave,
+ extra,
} = b.state.tick(b.id, &game, dt);
if leave {
@@ -112,6 +113,7 @@ fn main() -> Result<()> {
boost,
pos: None,
});
+ network.queue_out.extend(extra);
true
});