v0.9.2: fixed cave fissure rooms messing with levelgen
This commit is contained in:
parent
a1ce2a1963
commit
4a1804decb
|
@ -121,6 +121,7 @@ public class CavesFissureRoom extends StandardRoom {
|
||||||
|
|
||||||
//just become an empty room if we can't make at least 2 lines
|
//just become an empty room if we can't make at least 2 lines
|
||||||
if (lineAngles.size() < 2) {
|
if (lineAngles.size() < 2) {
|
||||||
|
PathFinder.setMapSize(level.width(), level.height());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user