Fixed a bug where an equal Scale treshold wouldn't open Gates.
This commit is contained in:
parent
42467c7384
commit
2fdb311315
@ -52,7 +52,7 @@ public class Scale extends Field {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void stackChanged() {
|
private void stackChanged() {
|
||||||
if (weight > threshold)
|
if (weight >= threshold)
|
||||||
gateConnected.setOpen(true);
|
gateConnected.setOpen(true);
|
||||||
else
|
else
|
||||||
gateConnected.setOpen(false);
|
gateConnected.setOpen(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user