Merge pull request #295 from CybertronicToon/master

Made mushroom generation account for depth
This commit is contained in:
UnknownShadow200 2017-01-26 22:21:47 +11:00 committed by GitHub
commit 390b200daf

View File

@ -263,7 +263,7 @@ namespace ClassicalSharp.Generator {
}
void PlantMushrooms() {
int numPatches = width * length / 2000;
int numPatches = width * length * height / 2000;
CurrentState = "Planting mushrooms";
for (int i = 0; i < numPatches; i++) {
@ -389,4 +389,4 @@ namespace ClassicalSharp.Generator {
}
}
}
}
}