diff options
author | metamuffin <metamuffin@disroot.org> | 2025-09-19 22:43:08 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-09-19 22:43:08 +0200 |
commit | 0be2030b1aee7f2ff650245c32d677283eeb15fe (patch) | |
tree | 8f0bed3eca8b6c921695e6eef0dcffcd2c881cef /server/src | |
parent | 6eaa5a21d6ff52e41e69aa3015e2e4e2dc973cb3 (diff) | |
download | hurrycurry-0be2030b1aee7f2ff650245c32d677283eeb15fe.tar hurrycurry-0be2030b1aee7f2ff650245c32d677283eeb15fe.tar.bz2 hurrycurry-0be2030b1aee7f2ff650245c32d677283eeb15fe.tar.zst |
fix set progress finish missing warn flag
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/interaction.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/interaction.rs b/server/src/interaction.rs index be291f67..624d9893 100644 --- a/server/src/interaction.rs +++ b/server/src/interaction.rs @@ -240,13 +240,13 @@ pub fn tick_slot( return; } if a.position >= 1. { - if let Recipe::Passive { output, .. } = &data.recipe(a.recipe) { + if let Recipe::Passive { output, warn, .. } = &data.recipe(a.recipe) { *slot = output.map(|kind| Item { kind, active: None }); score.passive_recipes += 1; *score_changed = true; packet_out.push_back(PacketC::SetProgress { player: None, - warn: false, + warn: *warn, item: slot_loc, position: 1., speed: 0., |