v0.6.2: fixed a bug with connection limits on hidden larder rooms

This commit is contained in:
Evan Debenham 2017-09-14 00:32:00 -04:00
parent 66765800cf
commit 6530cf0675

View File

@ -40,7 +40,7 @@ public class SecretLarderRoom extends SecretRoom {
@Override
public boolean canConnect(Point p) {
//refuses connections from the top
return super.canConnect(p) && p.x > top+1;
return super.canConnect(p) && p.y > top+1;
}
@Override