v0.6.2: fixed a bug with connection limits on hidden larder rooms
This commit is contained in:
parent
66765800cf
commit
6530cf0675
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user