|
@@ -122,7 +122,6 @@ class RegionRandom extends Region {
|
|
) {
|
|
) {
|
|
let chance2 = otherRoom.extraConnectionChance;
|
|
let chance2 = otherRoom.extraConnectionChance;
|
|
let chance = (chance1 == 0 || chance2 == 0) ? 0 : Math.max(chance1, chance2);
|
|
let chance = (chance1 == 0 || chance2 == 0) ? 0 : Math.max(chance1, chance2);
|
|
- console.log(chance);
|
|
|
|
if ((RegionRandom.rng() * 100) <= chance) {
|
|
if ((RegionRandom.rng() * 100) <= chance) {
|
|
room.mapRoom(otherRoom, direction);
|
|
room.mapRoom(otherRoom, direction);
|
|
}
|
|
}
|