diff --git a/cicaprojekt/Scale.java b/cicaprojekt/Scale.java index 6b613cc..27aa94f 100644 --- a/cicaprojekt/Scale.java +++ b/cicaprojekt/Scale.java @@ -52,7 +52,7 @@ public class Scale extends Field { } private void stackChanged() { - if (weight > threshold) + if (weight >= threshold) gateConnected.setOpen(true); else gateConnected.setOpen(false);