drain object queues after each object

This commit is contained in:
2026-07-10 01:20:26 -05:00
parent 386967e936
commit 325d2c27dd
13 changed files with 259 additions and 106 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ fn bumping_a_transporter_drops_you_on_its_far_side() {
game.run_init();
// Walk east into the transporter: it's solid so the player doesn't step onto
// it, but the bump queues a teleport that the next tick applies.
// it, but the bump fires a teleport that resolves within this try_move. The
// trailing tick just advances the transporter's idle animation.
game.try_move(Direction::East);
game.tick(Duration::from_secs_f64(0.1));