diff --git a/src/Aeon.Foraging/Aeon.Foraging.csproj b/src/Aeon.Foraging/Aeon.Foraging.csproj
index d995e9d..cb32eea 100644
--- a/src/Aeon.Foraging/Aeon.Foraging.csproj
+++ b/src/Aeon.Foraging/Aeon.Foraging.csproj
@@ -7,7 +7,7 @@
Bonsai Rx Project Aeon Foraging
net472
0.1.0
- build231201
+ build231202
diff --git a/src/Aeon.Foraging/DispenserEventControl.cs b/src/Aeon.Foraging/DispenserEventControl.cs
index b9b1e41..6fea9a8 100644
--- a/src/Aeon.Foraging/DispenserEventControl.cs
+++ b/src/Aeon.Foraging/DispenserEventControl.cs
@@ -48,8 +48,12 @@ private void resetButton_Click(object sender, EventArgs e)
private void OnDispenserEvent(decimal value, DispenserEventType eventType)
{
- var metadata = new DispenserEventArgs((int)value, eventType);
- Source.OnNext(metadata);
+ if (value != 0)
+ {
+ var metadata = new DispenserEventArgs((int)value, eventType);
+ Source.OnNext(metadata);
+ refillUpDown.Value = 0;
+ }
}
}
}