Fixed a bug where an equal Scale treshold wouldn't open Gates.

This commit is contained in:
Kjistóf 2016-05-13 18:47:26 +02:00
parent 42467c7384
commit 2fdb311315

View File

@ -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);