v0.9.2: fixed cave fissure rooms messing with levelgen

This commit is contained in:
Evan Debenham 2021-02-18 19:16:51 -05:00
parent a1ce2a1963
commit 4a1804decb

View File

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